Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 126.5 kB / 18.51 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002173/0.002173, allocations: 215.2 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 67.89 kB / 373.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1109, allocations: 53.33 MB / 427.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004782/0.1157, allocations: 3.028 MB / 430.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1172, allocations: 0.7595 MB / 431 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1174, allocations: 7.938 kB / 431 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1175, allocations: 51.44 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1177, allocations: 103.1 kB / 431.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.118, allocations: 103.8 kB / 431.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.1185, allocations: 410.2 kB / 431.6 MB, free: 124 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.1187, allocations: 83.09 kB / 431.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.119, allocations: 151.4 kB / 431.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1192, allocations: 167.3 kB / 432 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.1193, allocations: 32 kB / 432 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1194, allocations: 44 kB / 432.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.1194, allocations: 71.77 kB / 432.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.1196, allocations: 175.1 kB / 432.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.1201, allocations: 398.3 kB / 432.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1201, allocations: 0 / 432.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1201, allocations: 0 / 432.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.1201, allocations: 4 kB / 432.7 MB, free: 15.01 MB / 366.1 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.001118/0.1212, allocations: 0.6389 MB / 433.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1213, allocations: 12.03 kB / 433.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.1215, allocations: 44.7 kB / 433.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.1219, allocations: 283.8 kB / 433.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.1219, allocations: 20.94 kB / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.122, allocations: 32.38 kB / 433.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.1226, allocations: 257.2 kB / 434 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1226, allocations: 4 kB / 434 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1226, allocations: 8 kB / 434 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1226, allocations: 8 kB / 434 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.1232, allocations: 218.1 kB / 434.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.125, allocations: 0.9797 MB / 435.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.1256, allocations: 287.7 kB / 435.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1258, allocations: 92.81 kB / 435.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1259, allocations: 0 / 435.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.1259, allocations: 38.55 kB / 435.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.243e-06/0.1259, allocations: 0 / 435.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001448/0.1274, allocations: 0.5587 MB / 436.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1274, allocations: 55.41 kB / 436.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.1277, allocations: 266.6 kB / 436.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1277, allocations: 29.7 kB / 436.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.1279, allocations: 180.2 kB / 436.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.1279, allocations: 79.31 kB / 436.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.128, allocations: 53.83 kB / 436.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1282, allocations: 330.8 kB / 437.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.1284, allocations: 84.42 kB / 437.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.1287, allocations: 107.4 kB / 437.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.1291, allocations: 182.5 kB / 437.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1291, allocations: 8 kB / 437.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007118/0.1298, allocations: 318.8 kB / 437.8 MB, free: 9.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1298, allocations: 4 kB / 437.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1298, allocations: 0 / 437.8 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.1301, allocations: 77.73 kB / 437.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1303, allocations: 39.91 kB / 438 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.1331, allocations: 3.052 MB / 441 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.1333, allocations: 27.86 kB / 441 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1333, allocations: 11.98 kB / 441 MB, free: 6.078 MB / 366.1 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.0001794/0.1335, allocations: 141.9 kB / 441.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1336, allocations: 31.75 kB / 441.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.1336, allocations: 30.17 kB / 441.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1336, allocations: 0 / 441.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.1336, allocations: 4 kB / 441.2 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1336, allocations: 0 / 441.2 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.1348, allocations: 0.6865 MB / 441.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1348, allocations: 0 / 441.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1349, allocations: 23.98 kB / 442 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.1351, allocations: 77.61 kB / 442 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1351, allocations: 7.984 kB / 442 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/0.1379, allocations: 3.04 MB / 445.1 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1379, allocations: 0 / 445.1 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.1386, allocations: 389.4 kB / 445.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.1387, allocations: 96.95 kB / 445.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1387, allocations: 8 kB / 445.6 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.139, allocations: 28.16 kB / 445.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.1391, allocations: 23.97 kB / 445.6 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1391, allocations: 12 kB / 445.6 MB, free: 1.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.1393, allocations: 186 kB / 445.8 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1393, allocations: 0 / 445.8 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.1397, allocations: 99.83 kB / 445.9 MB, free: 0.8086 MB / 366.1 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.0001699/0.1399, allocations: 107.1 kB / 446 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000864/0.1408, allocations: 433.1 kB / 446.4 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1408, allocations: 0 / 446.4 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.232/0.3728, allocations: 334.5 kB / 446.8 MB, free: 24.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.3734, allocations: 51.06 kB / 446.8 MB, free: 24.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3744, allocations: 0.4991 MB / 447.3 MB, free: 24.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3747, allocations: 0.7683 MB / 448.1 MB, free: 23.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3748, allocations: 22.67 kB / 448.1 MB, free: 23.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3749, allocations: 19.91 kB / 448.1 MB, free: 23.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3749, allocations: 3.125 kB / 448.1 MB, free: 23.73 MB / 366.1 MB Notification: Performance of Templates: time 0.009291/0.3842, allocations: 3.797 MB / 451.9 MB, free: 23.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.9664602456614375]