Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001926/0.001926, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002391/0.002391, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 47.92 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2179, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002672/0.2206, allocations: 1.519 MB / 433.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.2215, allocations: 0.4908 MB / 434.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.2215, allocations: 4 kB / 434.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.2216, allocations: 15.94 kB / 434.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.2217, allocations: 11.86 kB / 434.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.2218, allocations: 35.91 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.898e-05/0.2219, allocations: 59.84 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.222, allocations: 11.98 kB / 434.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.2222, allocations: 31.91 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.2223, allocations: 35.84 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.2223, allocations: 4 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.2224, allocations: 23.94 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.2224, allocations: 15.92 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.2224, allocations: 15.92 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2226, allocations: 74.39 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2226, allocations: 0 / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2226, allocations: 0 / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.2226, allocations: 0 / 434.7 MB, free: 4.359 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006252/0.2232, allocations: 306.1 kB / 435 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2232, allocations: 8.031 kB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.2233, allocations: 12.89 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2234, allocations: 122.3 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2234, allocations: 4.375 kB / 435.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2234, allocations: 4.375 kB / 435.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.2237, allocations: 89.95 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2237, allocations: 0 / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2237, allocations: 0 / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2237, allocations: 7.875 kB / 435.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.224, allocations: 79.92 kB / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.2244, allocations: 240.4 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.2247, allocations: 70.56 kB / 435.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.2249, allocations: 48.94 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2249, allocations: 4 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2249, allocations: 38.56 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2249, allocations: 0 / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006018/0.2255, allocations: 149.5 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2256, allocations: 59.34 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.2256, allocations: 109.8 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2257, allocations: 29.7 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.2257, allocations: 92.03 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.2257, allocations: 15.91 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.2258, allocations: 21.7 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2259, allocations: 314.8 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2261, allocations: 39.95 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2262, allocations: 32.34 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2265, allocations: 84.78 kB / 436.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2265, allocations: 4 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003601/0.2269, allocations: 113.5 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2269, allocations: 11.94 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2269, allocations: 4 kB / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2269, allocations: 0 / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2271, allocations: 19.98 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2271, allocations: 0 / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.2272, allocations: 11.98 kB / 436.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2272, allocations: 0 / 436.8 MB, free: 2.082 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/0.2273, allocations: 121.8 kB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.2273, allocations: 4 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.2277, allocations: 149.5 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2277, allocations: 3.984 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2277, allocations: 3.984 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.2277, allocations: 0 / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2278, allocations: 4 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2279, allocations: 16.3 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2279, allocations: 11.98 kB / 437.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004651/0.2284, allocations: 204.9 kB / 437.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004522/0.2288, allocations: 302.6 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001751/0.229, allocations: 51.95 kB / 437.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.163e-05/0.2291, allocations: 87.28 kB / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2291, allocations: 0 / 437.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.2296, allocations: 122.3 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005834/0.2302, allocations: 0.5968 MB / 438.4 MB, free: 336 kB / 334.1 MB Notification: Performance of Templates: time 0.004071/0.2343, allocations: 1.321 MB / 439.7 MB, free: 15.03 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.262326343996392]