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.001538/0.001538, allocations: 81.73 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001447/0.001447, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.522/1.522, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] 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.903e-06/1.903e-06, allocations: 0 / 318.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.346e-05, allocations: 2.281 kB / 318.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002447/0.002471, allocations: 1.491 MB / 320.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.003348, allocations: 472.5 kB / 320.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.003404, allocations: 1.469 kB / 320.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.003545, allocations: 24.7 kB / 320.8 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.003626, allocations: 9.562 kB / 320.9 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.003818, allocations: 38.83 kB / 320.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.003935, allocations: 62.94 kB / 321 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004058, allocations: 19.16 kB / 321 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.004222, allocations: 40.89 kB / 321 MB, free: 2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.004292, allocations: 21.89 kB / 321 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.00432, allocations: 5.156 kB / 321 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/0.004397, allocations: 18.02 kB / 321.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.004423, allocations: 11.78 kB / 321.1 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.004459, allocations: 20.28 kB / 321.1 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004645, allocations: 76.41 kB / 321.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.00465, allocations: 3.938 kB / 321.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004651, allocations: 3.938 kB / 321.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.004659, allocations: 1.5 kB / 321.2 MB, free: 1.926 MB / 286.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.0006272/0.005286, allocations: 312.4 kB / 321.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.005329, allocations: 10.17 kB / 321.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.005366, allocations: 9.078 kB / 321.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.005449, allocations: 114.1 kB / 321.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.005469, allocations: 3.25 kB / 321.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.005492, allocations: 7.219 kB / 321.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.005792, allocations: 86.72 kB / 321.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.005803, allocations: 4.188 kB / 321.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005815, allocations: 1.125 kB / 321.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005823, allocations: 6.156 kB / 321.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.006161, allocations: 77.78 kB / 321.8 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.006512, allocations: 242.4 kB / 322 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.006778, allocations: 73.77 kB / 322.1 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.00695, allocations: 47.7 kB / 322.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.006971, allocations: 0.8438 kB / 322.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.006987, allocations: 33.72 kB / 322.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.006988, allocations: 0 / 322.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005619/0.00755, allocations: 159.5 kB / 322.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.00757, allocations: 52.81 kB / 322.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.007636, allocations: 109.4 kB / 322.5 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.007646, allocations: 26.08 kB / 322.5 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.007681, allocations: 88.36 kB / 322.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.007705, allocations: 24.19 kB / 322.6 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.00774, allocations: 18.69 kB / 322.6 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.007784, allocations: 318.4 kB / 323 MB, free: 408 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.007945, allocations: 41.91 kB / 323 MB, free: 396 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.008093, allocations: 34.52 kB / 323 MB, free: 392 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.008398, allocations: 84.48 kB / 323.1 MB, free: 364 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0084, allocations: 1.094 kB / 323.1 MB, free: 364 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003659/0.008766, allocations: 117.1 kB / 323.2 MB, free: 308 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.008784, allocations: 9.156 kB / 323.2 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.008789, allocations: 3.938 kB / 323.2 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.008807, allocations: 2.203 kB / 323.2 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.008949, allocations: 17.25 kB / 323.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.008956, allocations: 2.016 kB / 323.3 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.919e-05/0.009045, allocations: 15.72 kB / 323.3 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.009053, allocations: 1.062 kB / 323.3 MB, free: 300 kB / 286.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 5.563e-05/0.009109, allocations: 116.8 kB / 323.4 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.009138, allocations: 12.25 kB / 323.4 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.009553, allocations: 126.6 kB / 323.5 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009557, allocations: 2.656 kB / 323.5 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.009562, allocations: 0 / 323.5 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.009566, allocations: 4.562 kB / 323.5 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.009735, allocations: 123.5 kB / 323.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.009736, allocations: 0.6562 kB / 323.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.00987, allocations: 28.02 kB / 323.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.009873, allocations: 1.781 kB / 323.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.009886, allocations: 5.219 kB / 323.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.009888, allocations: 0.6875 kB / 323.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.009891, allocations: 3.984 kB / 323.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.01036, allocations: 221 kB / 323.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.01039, allocations: 19.16 kB / 323.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01041, allocations: 1.344 kB / 323.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01052, allocations: 11.47 kB / 323.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.01059, allocations: 10.81 kB / 324 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.01059, allocations: 1.156 kB / 324 MB, free: 15.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.01066, allocations: 89.34 kB / 324 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01066, allocations: 288 / 324 MB, free: 15.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.01089, allocations: 13.56 kB / 324.1 MB, free: 15.7 MB / 302.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.0001669/0.01105, allocations: 101.7 kB / 324.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.01145, allocations: 89.8 kB / 324.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01145, allocations: 0 / 324.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.01163, allocations: 49.52 kB / 324.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.01196, allocations: 4.953 kB / 324.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.01238, allocations: 164.7 kB / 324.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.127e-05/0.01247, allocations: 70.11 kB / 324.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.681e-05/0.0125, allocations: 13.02 kB / 324.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.01255, allocations: 11.67 kB / 324.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01255, allocations: 0 / 324.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Templates: time 0.004263/0.01681, allocations: 0.9592 MB / 325.5 MB, free: 15.21 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.41452869027853]