Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 78.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008576/0.0008576, allocations: 149.5 kB / 24.81 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.934/0.934, allocations: 173.4 MB / 201.5 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.037e-05, allocations: 2.312 kB / 268.4 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.005254/0.005274, allocations: 1.532 MB / 269.9 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006921/0.005966, allocations: 483.1 kB / 270.4 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.006014, allocations: 4 kB / 270.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.944e-05/0.006113, allocations: 17.08 kB / 270.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.006182, allocations: 11.86 kB / 270.4 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.006336, allocations: 44.66 kB / 270.4 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.006412, allocations: 55.83 kB / 270.5 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.006496, allocations: 9.125 kB / 270.5 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.006623, allocations: 43.84 kB / 270.6 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.006676, allocations: 27.89 kB / 270.6 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.006692, allocations: 11.06 kB / 270.6 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.006745, allocations: 12 kB / 270.6 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.006764, allocations: 11.98 kB / 270.6 MB, free: 7.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.006787, allocations: 19.92 kB / 270.6 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.006915, allocations: 55.75 kB / 270.7 MB, free: 7.574 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006917, allocations: 4 kB / 270.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006918, allocations: 0 / 270.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.165e-06/0.006921, allocations: 0 / 270.7 MB, free: 7.57 MB / 250.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.0004219/0.007343, allocations: 401.3 kB / 271.1 MB, free: 7.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.007378, allocations: 12.03 kB / 271.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.007406, allocations: 5.938 kB / 271.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.007482, allocations: 120.5 kB / 271.2 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003033/0.01052, allocations: 10.06 kB / 271.2 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.01052, allocations: 384 / 271.2 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.01067, allocations: 78.86 kB / 271.3 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.01068, allocations: 192 / 271.3 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.01069, allocations: 1.031 kB / 271.3 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.01069, allocations: 3.938 kB / 271.3 MB, free: 6.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.01073, allocations: 20.42 kB / 271.3 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.01104, allocations: 276.2 kB / 271.6 MB, free: 6.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.01112, allocations: 47.05 kB / 271.6 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.01114, allocations: 11.69 kB / 271.7 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.01116, allocations: 11.92 kB / 271.7 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.01118, allocations: 41.38 kB / 271.7 MB, free: 6.434 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.01118, allocations: 0 / 271.7 MB, free: 6.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001475/0.01133, allocations: 65.8 kB / 271.8 MB, free: 6.363 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.01136, allocations: 51.41 kB / 271.8 MB, free: 6.301 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.01145, allocations: 173.9 kB / 272 MB, free: 6.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.01146, allocations: 25.7 kB / 272 MB, free: 6.082 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.0115, allocations: 134.9 kB / 272.2 MB, free: 5.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.01153, allocations: 23.78 kB / 272.2 MB, free: 5.922 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.01157, allocations: 27.36 kB / 272.2 MB, free: 5.887 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.01168, allocations: 492.1 kB / 272.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.01169, allocations: 7.984 kB / 272.7 MB, free: 5.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.01171, allocations: 4 kB / 272.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.061e-05/0.01175, allocations: 27.62 kB / 272.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01175, allocations: 0 / 272.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001089/0.01186, allocations: 53.62 kB / 272.8 MB, free: 5.293 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01187, allocations: 8 kB / 272.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01187, allocations: 4 kB / 272.8 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.01188, allocations: 0 / 272.8 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.01196, allocations: 11.98 kB / 272.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.01196, allocations: 4 kB / 272.8 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.195e-05/0.01199, allocations: 7.984 kB / 272.8 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.01199, allocations: 0 / 272.8 MB, free: 5.258 MB / 250.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 6.922e-05/0.01206, allocations: 164.5 kB / 273 MB, free: 5.086 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.01209, allocations: 11.89 kB / 273 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-05/0.01219, allocations: 65.8 kB / 273 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01219, allocations: 0 / 273 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01219, allocations: 4 kB / 273.1 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.0122, allocations: 4 kB / 273.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.01232, allocations: 109.7 kB / 273.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.01232, allocations: 0 / 273.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.01237, allocations: 15.98 kB / 273.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01237, allocations: 11.94 kB / 273.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.01238, allocations: 3.938 kB / 273.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01238, allocations: 0 / 273.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01238, allocations: 0 / 273.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.0125, allocations: 215.8 kB / 273.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.01251, allocations: 15.94 kB / 273.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.01252, allocations: 3.938 kB / 273.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.01258, allocations: 4 kB / 273.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.01261, allocations: 7.984 kB / 273.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.01262, allocations: 4 kB / 273.4 MB, free: 4.562 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.01265, allocations: 127.2 kB / 273.6 MB, free: 4.438 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01265, allocations: 0 / 273.6 MB, free: 4.438 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.01286, allocations: 15.94 kB / 273.6 MB, free: 4.422 MB / 250.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 9.243e-05/0.01295, allocations: 103.2 kB / 273.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.889e-05/0.01303, allocations: 35.59 kB / 273.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.51e-07/0.01303, allocations: 0 / 273.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.01306, allocations: 23.67 kB / 273.7 MB, free: 4.246 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01328, allocations: 8 kB / 273.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.01656, allocations: 169.9 kB / 273.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.01659, allocations: 67.34 kB / 274 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.01662, allocations: 0 / 274 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.01668, allocations: 82.19 kB / 274.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01668, allocations: 0 / 274.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of Templates: time 0.005864/0.02255, allocations: 1.072 MB / 275.1 MB, free: 2.82 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5438750395551324]