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.001441/0.001441, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001627/0.001627, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.898e-05, allocations: 2.312 kB / 272.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002245/0.002274, allocations: 1.561 MB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.003071, allocations: 0.5179 MB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.003117, allocations: 0 / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.003237, allocations: 23.86 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.003314, allocations: 3.938 kB / 275 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.003493, allocations: 35.84 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.003582, allocations: 59.84 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.003694, allocations: 11.98 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.003923, allocations: 47.83 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.003992, allocations: 23.91 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.004011, allocations: 8 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.09e-05/0.004071, allocations: 19.94 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.004091, allocations: 19.91 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.004119, allocations: 12 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.004291, allocations: 63.73 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.004295, allocations: 0 / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004296, allocations: 0 / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.004303, allocations: 0 / 275.3 MB, free: 15.14 MB / 266.7 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.0005421/0.004845, allocations: 392.5 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.004887, allocations: 8.031 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.004936, allocations: 16.88 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.673e-05/0.005033, allocations: 116.6 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.005054, allocations: 4.375 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.005066, allocations: 8.312 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.005237, allocations: 78.86 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005244, allocations: 4.188 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.005257, allocations: 384 / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.005266, allocations: 3.938 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.005317, allocations: 15.98 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.005716, allocations: 299.7 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.005837, allocations: 50.98 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.00587, allocations: 15.67 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.005887, allocations: 7.984 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.005914, allocations: 33.39 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.005916, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.00018/0.006096, allocations: 65.8 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.006127, allocations: 55.41 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.0062, allocations: 165.9 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.006213, allocations: 29.7 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.006266, allocations: 150.8 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.006288, allocations: 11.91 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.006321, allocations: 23.38 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.006438, allocations: 0.4884 MB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.006464, allocations: 4 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.006481, allocations: 4.25 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.006535, allocations: 35.73 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006537, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.904e-05/0.006626, allocations: 61.59 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.006639, allocations: 4 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.006644, allocations: 0 / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.006658, allocations: 8 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.006742, allocations: 11.98 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.006747, allocations: 0 / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.006776, allocations: 7.984 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.006783, allocations: 4 kB / 277.5 MB, free: 12.78 MB / 266.7 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 7.755e-05/0.00686, allocations: 156.6 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.006882, allocations: 7.938 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.007019, allocations: 81.67 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007022, allocations: 4 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.007027, allocations: 7.938 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.007031, allocations: 0 / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.007158, allocations: 140.5 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.00716, allocations: 0 / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.007217, allocations: 19.92 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.00722, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.007229, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.007231, allocations: 0 / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.007232, allocations: 4 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.007379, allocations: 211.8 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.007393, allocations: 7.938 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.007408, allocations: 8 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.00745, allocations: 7.984 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.007507, allocations: 8.047 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.007513, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.027e-05/0.007564, allocations: 135.5 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007564, allocations: 0 / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.007721, allocations: 8 kB / 278.3 MB, free: 11.91 MB / 266.7 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.0001346/0.007856, allocations: 107.2 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.007983, allocations: 39.59 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007984, allocations: 4 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.008016, allocations: 19.69 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.008235, allocations: 11.98 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.008587, allocations: 169.9 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.008629, allocations: 63.34 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.446e-05/0.008654, allocations: 4 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.008692, allocations: 12.5 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.008693, allocations: 0 / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of Templates: time 0.003085/0.01178, allocations: 1.081 MB / 279.8 MB, free: 10.36 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.824006889015436]