Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 87.67 kB / 21.73 MB, free: 2.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 158.2 kB / 25.03 MB, free: 8.957 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.351e-05, allocations: 6.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004682/0.004716, allocations: 2.926 MB / 253.3 MB, free: 4.887 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.006626, allocations: 0.7059 MB / 254 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.006812, allocations: 7.938 kB / 254 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.007048, allocations: 55.42 kB / 254.1 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.007291, allocations: 111 kB / 254.2 MB, free: 4 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.007614, allocations: 95.8 kB / 254.3 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.008139, allocations: 429.8 kB / 254.7 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.008357, allocations: 67.64 kB / 254.8 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.008715, allocations: 227.5 kB / 255 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.008932, allocations: 127.6 kB / 255.1 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.008995, allocations: 32 kB / 255.1 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.009062, allocations: 32 kB / 255.2 MB, free: 3.008 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.00914, allocations: 71.75 kB / 255.2 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.009323, allocations: 131.7 kB / 255.4 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.009851, allocations: 402.7 kB / 255.8 MB, free: 2.414 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.009855, allocations: 0 / 255.8 MB, free: 2.414 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.009857, allocations: 0 / 255.8 MB, free: 2.414 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.009864, allocations: 0 / 255.8 MB, free: 2.414 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00119/0.01105, allocations: 0.675 MB / 256.4 MB, free: 1.699 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.0111, allocations: 15.92 kB / 256.4 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.01125, allocations: 60.7 kB / 256.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.01166, allocations: 228 kB / 256.7 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.01169, allocations: 21.03 kB / 256.7 MB, free: 1.352 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.01174, allocations: 32.36 kB / 256.8 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.01237, allocations: 396.8 kB / 257.2 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01238, allocations: 8.188 kB / 257.2 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.01241, allocations: 8.375 kB / 257.2 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.01242, allocations: 11.94 kB / 257.2 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.01287, allocations: 194.5 kB / 257.4 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.01474, allocations: 0.9343 MB / 258.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.01525, allocations: 226.6 kB / 258.5 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.01545, allocations: 95.66 kB / 258.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.01548, allocations: 4 kB / 258.6 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.01552, allocations: 41.39 kB / 258.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.01552, allocations: 0 / 258.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.001198/0.01672, allocations: 401.5 kB / 259.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.01677, allocations: 59.33 kB / 259.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.01712, allocations: 324.2 kB / 259.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.01715, allocations: 29.7 kB / 259.5 MB, free: 14.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.01734, allocations: 243.2 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.01741, allocations: 79.38 kB / 259.8 MB, free: 14.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/0.0175, allocations: 55.55 kB / 259.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002992/0.0178, allocations: 0.5118 MB / 260.4 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.01797, allocations: 76.42 kB / 260.4 MB, free: 13.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.01818, allocations: 104 kB / 260.5 MB, free: 13.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.01852, allocations: 186.8 kB / 260.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01853, allocations: 0 / 260.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006314/0.01916, allocations: 320.6 kB / 261 MB, free: 12.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01918, allocations: 4 kB / 261 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01918, allocations: 0 / 261 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/0.01975, allocations: 115.2 kB / 261.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.01994, allocations: 35.92 kB / 261.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.02335, allocations: 3.832 MB / 265 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.02355, allocations: 31.77 kB / 265 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.02357, allocations: 8 kB / 265 MB, free: 8.566 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.02378, allocations: 180.6 kB / 265.2 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.02384, allocations: 27.86 kB / 265.3 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.02392, allocations: 34.27 kB / 265.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02392, allocations: 0 / 265.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.02393, allocations: 8.031 kB / 265.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.02394, allocations: 3.938 kB / 265.3 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.02503, allocations: 0.6531 MB / 266 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02503, allocations: 0 / 266 MB, free: 7.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.02515, allocations: 23.92 kB / 266 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003631/0.02551, allocations: 119.4 kB / 266.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.02552, allocations: 4 kB / 266.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.02879, allocations: 3.84 MB / 269.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02879, allocations: 0 / 269.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.02945, allocations: 427.6 kB / 270.4 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.0295, allocations: 27.84 kB / 270.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.02953, allocations: 4 kB / 270.4 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.02976, allocations: 23.98 kB / 270.4 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.02985, allocations: 27.89 kB / 270.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.02987, allocations: 8 kB / 270.4 MB, free: 2.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002169/0.03009, allocations: 225.1 kB / 270.7 MB, free: 2.598 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03009, allocations: 4 kB / 270.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.0305, allocations: 103.7 kB / 270.8 MB, free: 2.492 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.03065, allocations: 99.25 kB / 270.9 MB, free: 2.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008771/0.03153, allocations: 0.541 MB / 271.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.03153, allocations: 0 / 271.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.03208, allocations: 467.1 kB / 271.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.03245, allocations: 44.53 kB / 271.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.03339, allocations: 499.6 kB / 272.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.03355, allocations: 159.5 kB / 272.5 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.03365, allocations: 25.94 kB / 272.6 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.03372, allocations: 16.5 kB / 272.6 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03372, allocations: 0 / 272.6 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of Templates: time 0.009096/0.04282, allocations: 3.6 MB / 276.2 MB, free: 12.96 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.550790857989341]