Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001293/0.001293, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.001416/0.001416, allocations: 219.9 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.84 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.226, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003521/0.2295, allocations: 2.191 MB / 434.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2305, allocations: 0.6233 MB / 434.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.495e-05/0.2306, allocations: 0 / 434.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2307, allocations: 19.8 kB / 434.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.2308, allocations: 47.56 kB / 434.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.2311, allocations: 47.88 kB / 435 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2313, allocations: 163.2 kB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2314, allocations: 41.48 kB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2316, allocations: 71.7 kB / 435.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2317, allocations: 63.7 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.2317, allocations: 12 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.2318, allocations: 27.98 kB / 435.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.2318, allocations: 27.86 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.2319, allocations: 71.67 kB / 435.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.2321, allocations: 172.9 kB / 435.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2321, allocations: 0 / 435.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2321, allocations: 0 / 435.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2322, allocations: 0 / 435.6 MB, free: 3.809 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.0006527/0.2328, allocations: 447 kB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2328, allocations: 11.97 kB / 436.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.233, allocations: 24.83 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.2333, allocations: 216.1 kB / 436.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2333, allocations: 8.609 kB / 436.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2334, allocations: 16.31 kB / 436.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.2336, allocations: 123.8 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2336, allocations: 0 / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2336, allocations: 8 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2337, allocations: 7.984 kB / 436.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.2338, allocations: 76.66 kB / 436.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008813/0.2347, allocations: 0.6058 MB / 437.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.235, allocations: 78.61 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.2351, allocations: 24.98 kB / 437.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2351, allocations: 4 kB / 437.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2352, allocations: 42.48 kB / 437.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 4.839e-06/0.2352, allocations: 4 kB / 437.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000731/0.2359, allocations: 247.5 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2359, allocations: 59.34 kB / 437.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2361, allocations: 153.7 kB / 437.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2361, allocations: 25.7 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.2362, allocations: 124.1 kB / 437.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.2362, allocations: 19.8 kB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.2363, allocations: 29.7 kB / 437.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2364, allocations: 318.8 kB / 438.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.2365, allocations: 16 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.2366, allocations: 50.55 kB / 438.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.2367, allocations: 74.48 kB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2367, allocations: 0 / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003072/0.237, allocations: 142.3 kB / 438.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.237, allocations: 4 kB / 438.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.237, allocations: 0 / 438.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.2372, allocations: 44.77 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.2373, allocations: 8 kB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.239, allocations: 1.697 MB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.2391, allocations: 11.89 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2391, allocations: 4 kB / 440.3 MB, free: 14.7 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 9.946e-05/0.2392, allocations: 117.8 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.2392, allocations: 11.89 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.2392, allocations: 16.72 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.2392, allocations: 3.984 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2392, allocations: 3.938 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.2393, allocations: 89.06 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2393, allocations: 0 / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2394, allocations: 4 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.2394, allocations: 7.984 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004096/0.2399, allocations: 217.6 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003261/0.2402, allocations: 290.8 kB / 441 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.692e-05/0.2402, allocations: 24.05 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.21e-05/0.2403, allocations: 113.7 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Backend: time 1.7e-07/0.2403, allocations: 0 / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006437/0.241, allocations: 256.9 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007422/0.2417, allocations: 0.7624 MB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Templates: time 0.004591/0.2463, allocations: 1.49 MB / 443.7 MB, free: 11.2 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.107256466057152]