Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.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.001344/0.001344, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001435/0.001435, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.793 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+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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 53.35 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.00323/0.2374, allocations: 2.097 MB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.2383, allocations: 0.5805 MB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.2384, allocations: 4 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.802e-05/0.2385, allocations: 19.8 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.482e-05/0.2386, allocations: 47.56 kB / 435.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.2387, allocations: 51.88 kB / 435.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.2389, allocations: 163.2 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.239, allocations: 36.62 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.2392, allocations: 75.7 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2393, allocations: 63.7 kB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.2394, allocations: 12 kB / 435.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.2394, allocations: 24 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.2395, allocations: 31.84 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.2395, allocations: 59.73 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2397, allocations: 167 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2397, allocations: 4 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2397, allocations: 0 / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2397, allocations: 0 / 435.8 MB, free: 3.273 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.000636/0.2404, allocations: 377.8 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2404, allocations: 8.031 kB / 436.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.2406, allocations: 28.83 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.2409, allocations: 146.3 kB / 436.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2409, allocations: 8.609 kB / 436.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2409, allocations: 20.36 kB / 436.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2412, allocations: 149.5 kB / 436.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2412, allocations: 3.984 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2412, allocations: 4 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2412, allocations: 3.938 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.2414, allocations: 84.61 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.2422, allocations: 435 kB / 437 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2425, allocations: 86.56 kB / 437.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.2426, allocations: 28.97 kB / 437.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2426, allocations: 3.938 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2427, allocations: 38.5 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.2427, allocations: 0 / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006812/0.2434, allocations: 178.3 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.2434, allocations: 55.41 kB / 437.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2435, allocations: 156.1 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2436, allocations: 29.7 kB / 437.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.2437, allocations: 132.1 kB / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2437, allocations: 19.8 kB / 437.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.2437, allocations: 33.7 kB / 437.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2439, allocations: 318.8 kB / 438.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.2439, allocations: 19.98 kB / 438.1 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.058e-05/0.244, allocations: 42.81 kB / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2442, allocations: 70.5 kB / 438.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2442, allocations: 4 kB / 438.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000316/0.2445, allocations: 138.3 kB / 438.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2445, allocations: 11.94 kB / 438.3 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2445, allocations: 0 / 438.3 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.2447, allocations: 36.83 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.2447, allocations: 8 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.2464, allocations: 1.562 MB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.2465, allocations: 4.031 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2465, allocations: 4 kB / 439.9 MB, free: 14.77 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.000112/0.2466, allocations: 117.8 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.2466, allocations: 15.89 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.2467, allocations: 16.7 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2467, allocations: 0 / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2467, allocations: 4.062 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.2467, allocations: 8.078 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2467, allocations: 4 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.2468, allocations: 7.984 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.2469, allocations: 12.11 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004097/0.2473, allocations: 205.7 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00034/0.2476, allocations: 306.6 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.737e-05/0.2477, allocations: 20.05 kB / 440.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.293e-05/0.2478, allocations: 118 kB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Backend: time 1.6e-07/0.2478, allocations: 0 / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006299/0.2484, allocations: 245 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007294/0.2491, allocations: 0.7673 MB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Templates: time 0.005027/0.2542, allocations: 1.588 MB / 443.4 MB, free: 11.28 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.2280859900056385]