Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 104.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 214.4 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.88 kB / 376.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.359, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003165/0.3621, allocations: 1.531 MB / 431.3 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3632, allocations: 0.5375 MB / 431.8 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.3632, allocations: 4 kB / 431.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3634, allocations: 15.92 kB / 431.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.3635, allocations: 11.88 kB / 431.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.3637, allocations: 43.89 kB / 431.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3638, allocations: 59.78 kB / 432 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3639, allocations: 11.98 kB / 432 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.3641, allocations: 31.91 kB / 432 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.3642, allocations: 31.84 kB / 432 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3642, allocations: 8 kB / 432 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.681e-05/0.3643, allocations: 19.94 kB / 432.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3643, allocations: 7.984 kB / 432.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3643, allocations: 31.86 kB / 432.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3645, allocations: 65 kB / 432.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3645, allocations: 4 kB / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3645, allocations: 0 / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3645, allocations: 0 / 432.2 MB, free: 5.129 MB / 334.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.0007889/0.3653, allocations: 383.2 kB / 432.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3653, allocations: 8.031 kB / 432.6 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3654, allocations: 8.891 kB / 432.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3656, allocations: 176.2 kB / 432.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3656, allocations: 4.375 kB / 432.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3656, allocations: 8.375 kB / 432.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.3659, allocations: 89.89 kB / 432.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3659, allocations: 3.938 kB / 432.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3659, allocations: 0 / 432.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.3659, allocations: 4 kB / 432.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.3662, allocations: 87.84 kB / 432.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.3668, allocations: 304.8 kB / 433.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.367, allocations: 74.56 kB / 433.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.3672, allocations: 44.94 kB / 433.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3672, allocations: 0 / 433.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.3672, allocations: 38.56 kB / 433.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3672, allocations: 0 / 433.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005891/0.3678, allocations: 149.5 kB / 433.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.3679, allocations: 59.34 kB / 433.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.368, allocations: 105.8 kB / 433.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.368, allocations: 33.7 kB / 433.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.3681, allocations: 92.03 kB / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.3681, allocations: 15.89 kB / 433.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3682, allocations: 17.72 kB / 433.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3683, allocations: 318.8 kB / 434.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3685, allocations: 43.95 kB / 434.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3686, allocations: 35.95 kB / 434.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.3689, allocations: 77.17 kB / 434.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3689, allocations: 4 kB / 434.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003524/0.3692, allocations: 125.5 kB / 434.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3692, allocations: 4 kB / 434.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3693, allocations: 0 / 434.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3693, allocations: 4 kB / 434.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3694, allocations: 15.98 kB / 434.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3694, allocations: 4 kB / 434.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.3695, allocations: 15.97 kB / 434.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3695, allocations: 3.984 kB / 434.5 MB, free: 2.594 MB / 334.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.92e-05/0.3696, allocations: 117.8 kB / 434.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3696, allocations: 384 / 434.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.37, allocations: 141.4 kB / 434.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.37, allocations: 3.984 kB / 434.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.37, allocations: 7.938 kB / 434.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.37, allocations: 3.938 kB / 434.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3703, allocations: 185.6 kB / 434.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3703, allocations: 0 / 434.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.3704, allocations: 23.97 kB / 435 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3704, allocations: 0 / 435 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3704, allocations: 8 kB / 435 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3704, allocations: 0 / 435 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3704, allocations: 4 kB / 435 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.3708, allocations: 211.4 kB / 435.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.291e-05/0.3709, allocations: 85.09 kB / 435.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3709, allocations: 0 / 435.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.371, allocations: 23.92 kB / 435.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.371, allocations: 3.984 kB / 435.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.371, allocations: 4 kB / 435.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.684e-05/0.3711, allocations: 87.28 kB / 435.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3711, allocations: 0 / 435.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.3713, allocations: 11.94 kB / 435.4 MB, free: 1.582 MB / 334.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.0001712/0.3715, allocations: 111.2 kB / 435.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.3719, allocations: 79.92 kB / 435.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3719, allocations: 0 / 435.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.3721, allocations: 51.89 kB / 435.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3724, allocations: 12.19 kB / 435.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.3728, allocations: 161.9 kB / 435.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3732, allocations: 0.6885 MB / 436.5 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.757e-05/0.3732, allocations: 4 kB / 436.5 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.3732, allocations: 15.44 kB / 436.5 MB, free: 416 kB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3732, allocations: 0 / 436.5 MB, free: 416 kB / 334.1 MB Notification: Performance of Templates: time 0.003787/0.377, allocations: 0.9459 MB / 437.4 MB, free: 15.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.646269682794809]