Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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.00192/0.00192, allocations: 81.78 kB / 21.25 MB, free: 0.5469 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.002595/0.002595, allocations: 160 kB / 24.5 MB, free: 3.719 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.447/1.447, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 60.38 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1066, allocations: 53.39 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003817/0.1105, allocations: 2.091 MB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1115, allocations: 0.5806 MB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.1116, allocations: 0 / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.1117, allocations: 31.66 kB / 381.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/0.1118, allocations: 43.61 kB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1121, allocations: 47.89 kB / 381.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1124, allocations: 159.2 kB / 381.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1125, allocations: 45.59 kB / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.1127, allocations: 67.72 kB / 382 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1128, allocations: 59.7 kB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1128, allocations: 12 kB / 382.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.1129, allocations: 31.92 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.113, allocations: 23.92 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.113, allocations: 63.72 kB / 382.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.1133, allocations: 163.3 kB / 382.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1133, allocations: 0 / 382.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1133, allocations: 0 / 382.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1133, allocations: 4 kB / 382.3 MB, free: 12 MB / 350.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.0007133/0.114, allocations: 365.9 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1141, allocations: 15.98 kB / 382.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.1143, allocations: 24.83 kB / 382.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1146, allocations: 165.5 kB / 382.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1146, allocations: 8.609 kB / 382.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1146, allocations: 12.38 kB / 382.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.1149, allocations: 145.5 kB / 383.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1149, allocations: 4 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1149, allocations: 4 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1149, allocations: 4 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.1151, allocations: 88.52 kB / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.1159, allocations: 443.4 kB / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1162, allocations: 86.5 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.1163, allocations: 32.97 kB / 383.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1163, allocations: 4 kB / 383.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1163, allocations: 30.56 kB / 383.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1163, allocations: 0 / 383.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006801/0.117, allocations: 178.3 kB / 383.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.1171, allocations: 55.41 kB / 384 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1172, allocations: 160.5 kB / 384.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1172, allocations: 25.7 kB / 384.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.1173, allocations: 128.1 kB / 384.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1173, allocations: 27.78 kB / 384.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.1174, allocations: 17.72 kB / 384.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1175, allocations: 322.8 kB / 384.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.1176, allocations: 27.98 kB / 384.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.1177, allocations: 42.56 kB / 384.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1178, allocations: 66.5 kB / 384.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1178, allocations: 0 / 384.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003582/0.1182, allocations: 142.2 kB / 384.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1182, allocations: 4 kB / 384.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1182, allocations: 4.062 kB / 384.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.1185, allocations: 36.84 kB / 384.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.1185, allocations: 11.98 kB / 385 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.1205, allocations: 1.562 MB / 386.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.1205, allocations: 11.94 kB / 386.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1205, allocations: 0 / 386.5 MB, free: 7.492 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.0001077/0.1207, allocations: 121.8 kB / 386.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1207, allocations: 11.89 kB / 386.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.1207, allocations: 12.78 kB / 386.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1207, allocations: 4.172 kB / 386.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.1207, allocations: 3.938 kB / 386.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1207, allocations: 3.938 kB / 386.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1209, allocations: 141.3 kB / 386.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1209, allocations: 0 / 386.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.1209, allocations: 7.984 kB / 386.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.1211, allocations: 32.84 kB / 386.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1211, allocations: 7.938 kB / 386.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.1225, allocations: 1.547 MB / 388.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1225, allocations: 4.188 kB / 388.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.1228, allocations: 216.2 kB / 388.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.1228, allocations: 15.88 kB / 388.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1228, allocations: 0 / 388.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.1229, allocations: 4 kB / 388.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.123, allocations: 7.984 kB / 388.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.123, allocations: 7.938 kB / 388.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.581e-05/0.1231, allocations: 111.2 kB / 388.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1231, allocations: 4 kB / 388.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000355/0.1234, allocations: 43.89 kB / 388.8 MB, free: 5.031 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.0001203/0.1235, allocations: 91.25 kB / 388.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004899/0.124, allocations: 186.5 kB / 389.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.124, allocations: 0 / 389.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.1243, allocations: 162.8 kB / 389.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1245, allocations: 11.94 kB / 389.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.1251, allocations: 296.7 kB / 389.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.1252, allocations: 102.2 kB / 389.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.94e-05/0.1252, allocations: 4.5 kB / 389.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.1253, allocations: 8.5 kB / 389.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1253, allocations: 4 kB / 389.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of Templates: time 0.005013/0.1303, allocations: 1.438 MB / 391.1 MB, free: 2.688 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.354616141063161]