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.001576/0.001576, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001576/0.001576, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.623/1.623, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001766/0.001766, allocations: 51.91 kB / 373.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1222, allocations: 53.33 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003201/0.1254, allocations: 1.529 MB / 428.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1265, allocations: 0.5375 MB / 428.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.1266, allocations: 4 kB / 428.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1267, allocations: 15.88 kB / 428.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.917e-05/0.1268, allocations: 11.91 kB / 428.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.127, allocations: 35.92 kB / 428.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1271, allocations: 51.84 kB / 428.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1272, allocations: 19.98 kB / 429 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.1275, allocations: 35.84 kB / 429 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.1275, allocations: 27.91 kB / 429 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1276, allocations: 4 kB / 429 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.1276, allocations: 23.92 kB / 429.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.1277, allocations: 15.94 kB / 429.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.1277, allocations: 23.86 kB / 429.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1279, allocations: 71.72 kB / 429.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1279, allocations: 7.938 kB / 429.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1279, allocations: 0 / 429.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1279, allocations: 0 / 429.2 MB, free: 1.887 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007602/0.1287, allocations: 387.2 kB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1287, allocations: 16.03 kB / 429.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1288, allocations: 12.83 kB / 429.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1289, allocations: 164.4 kB / 429.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1289, allocations: 8.359 kB / 429.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.129, allocations: 4.375 kB / 429.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.1293, allocations: 85.95 kB / 429.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1293, allocations: 3.938 kB / 429.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1293, allocations: 4 kB / 429.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1293, allocations: 4 kB / 429.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003625/0.1297, allocations: 75.92 kB / 429.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.1302, allocations: 304.7 kB / 430.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1305, allocations: 78.55 kB / 430.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.1307, allocations: 48.94 kB / 430.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1307, allocations: 0 / 430.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1307, allocations: 30.56 kB / 430.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.1307, allocations: 0 / 430.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006428/0.1314, allocations: 157.5 kB / 430.5 MB, free: 372 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1314, allocations: 55.41 kB / 430.6 MB, free: 304 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1315, allocations: 114.1 kB / 430.7 MB, free: 180 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1316, allocations: 25.7 kB / 430.7 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.1316, allocations: 100.1 kB / 430.8 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1317, allocations: 19.94 kB / 430.8 MB, free: 24 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.1317, allocations: 17.66 kB / 430.9 MB, free: 0 / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1319, allocations: 322.8 kB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.1321, allocations: 35.97 kB / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1322, allocations: 35.95 kB / 431.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.1325, allocations: 88.78 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1326, allocations: 0 / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00038/0.1329, allocations: 109.9 kB / 431.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1329, allocations: 8 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1329, allocations: 0 / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.133, allocations: 4.062 kB / 431.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1331, allocations: 23.97 kB / 431.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1331, allocations: 0 / 431.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.1332, allocations: 15.98 kB / 431.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1332, allocations: 4 kB / 431.5 MB, free: 15.35 MB / 366.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 9.178e-05/0.1333, allocations: 113.8 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1333, allocations: 4 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.1338, allocations: 141.5 kB / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1338, allocations: 0 / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1338, allocations: 0 / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1338, allocations: 0 / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.134, allocations: 189.5 kB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.134, allocations: 0 / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1342, allocations: 27.97 kB / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1342, allocations: 0 / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.1342, allocations: 0 / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1342, allocations: 0 / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1342, allocations: 0 / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.1347, allocations: 227.3 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1347, allocations: 81.06 kB / 432.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1347, allocations: 0 / 432.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1349, allocations: 11.98 kB / 432.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.1349, allocations: 11.98 kB / 432.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1349, allocations: 3.938 kB / 432.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.843e-05/0.135, allocations: 95.2 kB / 432.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.135, allocations: 0 / 432.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1352, allocations: 15.88 kB / 432.4 MB, free: 14.34 MB / 366.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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001528/0.1354, allocations: 107.8 kB / 432.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004362/0.1358, allocations: 87.86 kB / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1358, allocations: 0 / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.136, allocations: 47.95 kB / 432.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1363, allocations: 6.703 kB / 432.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.1367, allocations: 154 kB / 432.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.137, allocations: 0.6885 MB / 433.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.857e-05/0.1371, allocations: 8 kB / 433.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1371, allocations: 11.42 kB / 433.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1371, allocations: 4 kB / 433.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Templates: time 0.004134/0.1412, allocations: 0.9261 MB / 434.4 MB, free: 12.25 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/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.953907206654549]