Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 123.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 247.1 MB, free: 4.352 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.92 kB / 358.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09437, allocations: 49.43 MB / 408.1 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003413/0.09781, allocations: 2.131 MB / 410.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.09881, allocations: 0.5376 MB / 410.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.09892, allocations: 4 kB / 410.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.09907, allocations: 19.78 kB / 410.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.09919, allocations: 51.56 kB / 410.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.09943, allocations: 39.89 kB / 410.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.09964, allocations: 151.3 kB / 411 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.09981, allocations: 57.45 kB / 411.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.09993, allocations: 67.72 kB / 411.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1001, allocations: 71.64 kB / 411.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1001, allocations: 12 kB / 411.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.959e-05/0.1002, allocations: 16 kB / 411.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.1002, allocations: 27.92 kB / 411.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.1003, allocations: 75.64 kB / 411.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1006, allocations: 159.3 kB / 411.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1006, allocations: 0 / 411.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1006, allocations: 0 / 411.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1006, allocations: 0 / 411.5 MB, free: 3.727 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006509/0.1013, allocations: 451 kB / 412 MB, free: 3.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1013, allocations: 12.03 kB / 412 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.566e-05/0.1014, allocations: 12.89 kB / 412 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1017, allocations: 208.1 kB / 412.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1017, allocations: 8.609 kB / 412.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1017, allocations: 16.31 kB / 412.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.102, allocations: 117.5 kB / 412.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.102, allocations: 0 / 412.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.102, allocations: 15.94 kB / 412.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1021, allocations: 4 kB / 412.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.1023, allocations: 76.66 kB / 412.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.1031, allocations: 0.6096 MB / 413 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.1034, allocations: 90.56 kB / 413.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.1035, allocations: 24.98 kB / 413.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1036, allocations: 0 / 413.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1036, allocations: 38.55 kB / 413.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1036, allocations: 0 / 413.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007386/0.1043, allocations: 251.5 kB / 413.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1044, allocations: 55.34 kB / 413.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1046, allocations: 143.7 kB / 413.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1046, allocations: 29.7 kB / 413.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1047, allocations: 128.1 kB / 413.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1047, allocations: 23.8 kB / 413.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1048, allocations: 21.7 kB / 413.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1049, allocations: 326.8 kB / 414.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.796e-05/0.105, allocations: 20.25 kB / 414.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.1051, allocations: 50.48 kB / 414.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1053, allocations: 74.55 kB / 414.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1053, allocations: 0 / 414.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002989/0.1056, allocations: 134.3 kB / 414.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1056, allocations: 4 kB / 414.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1056, allocations: 4.062 kB / 414.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.1058, allocations: 40.83 kB / 414.5 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.1059, allocations: 8 kB / 414.5 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.1075, allocations: 1.684 MB / 416.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.1076, allocations: 11.98 kB / 416.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.1077, allocations: 8.109 kB / 416.2 MB, free: 14.63 MB / 350.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1078, allocations: 117.8 kB / 416.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.1078, allocations: 19.83 kB / 416.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.1078, allocations: 12.72 kB / 416.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1079, allocations: 0 / 416.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1079, allocations: 4.062 kB / 416.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1079, allocations: 3.984 kB / 416.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.1081, allocations: 221.5 kB / 416.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1081, allocations: 0 / 416.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.1082, allocations: 7.938 kB / 416.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.1083, allocations: 40.83 kB / 416.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1083, allocations: 0 / 416.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.1099, allocations: 1.674 MB / 418.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1099, allocations: 3.984 kB / 418.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.1102, allocations: 216.5 kB / 418.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1103, allocations: 96.95 kB / 418.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1103, allocations: 4 kB / 418.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1104, allocations: 7.984 kB / 418.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.1105, allocations: 4.188 kB / 418.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.1105, allocations: 3.984 kB / 418.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.245e-05/0.1106, allocations: 117.8 kB / 418.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1106, allocations: 4 kB / 418.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003534/0.1109, allocations: 35.95 kB / 418.7 MB, free: 11.82 MB / 350.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.1111, allocations: 99.72 kB / 418.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.1115, allocations: 186.6 kB / 419 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1115, allocations: 0 / 419 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.1117, allocations: 162.8 kB / 419.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.112, allocations: 18.12 kB / 419.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.1126, allocations: 325.1 kB / 419.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.113, allocations: 0.708 MB / 420.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.113, allocations: 11.44 kB / 420.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.113, allocations: 0 / 420.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Templates: time 0.003839/0.1168, allocations: 1.92 MB / 422.2 MB, free: 8.316 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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: 7.074442434008233]