Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001319/0.001319, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001544/0.001544, allocations: 165.7 kB / 25.33 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9525/0.9525, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 251 MB, free: 7.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.585e-05, allocations: 2.312 kB / 251 MB, free: 7.559 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.005441/0.005467, allocations: 1.536 MB / 252.5 MB, free: 6.008 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.006256, allocations: 0.5189 MB / 253 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.0063, allocations: 0 / 253 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.006409, allocations: 19.81 kB / 253.1 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.009189, allocations: 15.86 kB / 253.1 MB, free: 5.445 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.009434, allocations: 39.84 kB / 253.1 MB, free: 5.406 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.009548, allocations: 63.77 kB / 253.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.009651, allocations: 15.98 kB / 253.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.009801, allocations: 35.97 kB / 253.2 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.009861, allocations: 23.91 kB / 253.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.009881, allocations: 8 kB / 253.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.009939, allocations: 12 kB / 253.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.00996, allocations: 15.92 kB / 253.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.00999, allocations: 19.98 kB / 253.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.01015, allocations: 59.69 kB / 253.4 MB, free: 5.156 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01016, allocations: 0 / 253.4 MB, free: 5.156 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01016, allocations: 0 / 253.4 MB, free: 5.156 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.01016, allocations: 0 / 253.4 MB, free: 5.156 MB / 234.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.0004596/0.01062, allocations: 408.4 kB / 253.8 MB, free: 4.723 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01066, allocations: 11.98 kB / 253.8 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.0107, allocations: 12.89 kB / 253.8 MB, free: 4.699 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.01078, allocations: 116.5 kB / 253.9 MB, free: 4.559 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.0108, allocations: 4.375 kB / 253.9 MB, free: 4.555 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.01081, allocations: 12.36 kB / 253.9 MB, free: 4.543 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.01097, allocations: 78.86 kB / 254 MB, free: 4.457 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.01097, allocations: 192 / 254 MB, free: 4.457 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.01098, allocations: 4.375 kB / 254 MB, free: 4.453 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01099, allocations: 3.938 kB / 254 MB, free: 4.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/0.01105, allocations: 15.98 kB / 254 MB, free: 4.434 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.01137, allocations: 287.7 kB / 254.3 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.01148, allocations: 50.98 kB / 254.4 MB, free: 4.055 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.01151, allocations: 19.81 kB / 254.4 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.01152, allocations: 4 kB / 254.4 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.01154, allocations: 33.39 kB / 254.4 MB, free: 3.984 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.01154, allocations: 0 / 254.4 MB, free: 3.984 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001741/0.01172, allocations: 69.67 kB / 254.5 MB, free: 3.91 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.01175, allocations: 51.41 kB / 254.5 MB, free: 3.848 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.01182, allocations: 173.9 kB / 254.7 MB, free: 3.66 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.01183, allocations: 25.7 kB / 254.7 MB, free: 3.629 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.01188, allocations: 142.8 kB / 254.9 MB, free: 3.484 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.0119, allocations: 15.84 kB / 254.9 MB, free: 3.469 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.01194, allocations: 27.36 kB / 254.9 MB, free: 3.434 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003453/0.01228, allocations: 496.1 kB / 255.4 MB, free: 2.938 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.01231, allocations: 8.25 kB / 255.4 MB, free: 2.93 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.01233, allocations: 15.98 kB / 255.4 MB, free: 2.914 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.01238, allocations: 27.62 kB / 255.4 MB, free: 2.883 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01238, allocations: 0 / 255.4 MB, free: 2.883 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.184e-05/0.01246, allocations: 61.58 kB / 255.5 MB, free: 2.816 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.01247, allocations: 8 kB / 255.5 MB, free: 2.809 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01248, allocations: 3.938 kB / 255.5 MB, free: 2.805 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.01249, allocations: 0 / 255.5 MB, free: 2.805 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.01256, allocations: 15.98 kB / 255.5 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.01257, allocations: 0 / 255.5 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.0126, allocations: 8 kB / 255.5 MB, free: 2.781 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.0126, allocations: 0 / 255.5 MB, free: 2.781 MB / 234.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.169e-05/0.01266, allocations: 160.6 kB / 255.7 MB, free: 2.613 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.01269, allocations: 19.81 kB / 255.7 MB, free: 2.594 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.0128, allocations: 69.78 kB / 255.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01281, allocations: 0 / 255.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01281, allocations: 0 / 255.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01281, allocations: 0 / 255.8 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.01694, allocations: 132.6 kB / 255.9 MB, free: 2.355 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01694, allocations: 0 / 255.9 MB, free: 2.355 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.017, allocations: 27.92 kB / 255.9 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01701, allocations: 4 kB / 255.9 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.01702, allocations: 0 / 255.9 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01702, allocations: 0 / 255.9 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01702, allocations: 0 / 255.9 MB, free: 2.324 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01716, allocations: 211.8 kB / 256.2 MB, free: 2.098 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.01716, allocations: 12.11 kB / 256.2 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.01718, allocations: 4 kB / 256.2 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.796e-05/0.01724, allocations: 8 kB / 256.2 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.01728, allocations: 7.984 kB / 256.2 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.01728, allocations: 4 kB / 256.2 MB, free: 2.062 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.01732, allocations: 135.2 kB / 256.3 MB, free: 1.93 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01732, allocations: 0 / 256.3 MB, free: 1.93 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.01755, allocations: 11.95 kB / 256.3 MB, free: 1.918 MB / 234.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.0001087/0.01765, allocations: 99.23 kB / 256.4 MB, free: 1.809 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.01777, allocations: 35.61 kB / 256.5 MB, free: 1.77 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01777, allocations: 0 / 256.5 MB, free: 1.77 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.01781, allocations: 31.67 kB / 256.5 MB, free: 1.734 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01805, allocations: 8 kB / 256.5 MB, free: 1.727 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.01836, allocations: 169 kB / 256.7 MB, free: 1.535 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.0184, allocations: 63.34 kB / 256.7 MB, free: 1.453 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.457e-05/0.01842, allocations: 3.938 kB / 256.7 MB, free: 1.449 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.01846, allocations: 12.5 kB / 256.7 MB, free: 1.438 MB / 234.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01846, allocations: 4 kB / 256.7 MB, free: 1.434 MB / 234.7 MB Notification: Performance of Templates: time 0.003387/0.02185, allocations: 1.066 MB / 257.8 MB, free: 384 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7393485391512513]