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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=2020,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=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 107.2 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 51.94 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.08075, allocations: 46.62 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002706/0.0835, allocations: 1.496 MB / 377.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.08445, allocations: 0.5358 MB / 377.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.08453, allocations: 4 kB / 377.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.08467, allocations: 23.86 kB / 377.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.08476, allocations: 11.92 kB / 377.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.08493, allocations: 39.84 kB / 377.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.08507, allocations: 55.84 kB / 377.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.08519, allocations: 19.97 kB / 378 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.08533, allocations: 31.91 kB / 378 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.08541, allocations: 27.84 kB / 378 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.08543, allocations: 8 kB / 378 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-05/0.08551, allocations: 27.94 kB / 378.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.08554, allocations: 7.984 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.08558, allocations: 27.81 kB / 378.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.08575, allocations: 63.78 kB / 378.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.08576, allocations: 4 kB / 378.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08577, allocations: 0 / 378.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.08578, allocations: 0 / 378.2 MB, free: 2.215 MB / 318.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.000625/0.08641, allocations: 387.2 kB / 378.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.08645, allocations: 12.03 kB / 378.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.0865, allocations: 4.938 kB / 378.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.08665, allocations: 180.2 kB / 378.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.08667, allocations: 4.375 kB / 378.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.08669, allocations: 384 / 378.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.08697, allocations: 89.89 kB / 378.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.08699, allocations: 0 / 378.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.08701, allocations: 8 kB / 378.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.08702, allocations: 0 / 378.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.08734, allocations: 83.86 kB / 378.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.08778, allocations: 308.6 kB / 379.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.08806, allocations: 82.56 kB / 379.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.08824, allocations: 36.95 kB / 379.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.08826, allocations: 4 kB / 379.3 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.08829, allocations: 34.55 kB / 379.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.0883, allocations: 4 kB / 379.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005897/0.08889, allocations: 141.6 kB / 379.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.08894, allocations: 55.34 kB / 379.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.08903, allocations: 113.8 kB / 379.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.08906, allocations: 29.7 kB / 379.7 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.08912, allocations: 92.05 kB / 379.8 MB, free: 388 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.08915, allocations: 15.81 kB / 379.8 MB, free: 372 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.0892, allocations: 17.7 kB / 379.8 MB, free: 348 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.08933, allocations: 322.8 kB / 380.1 MB, free: 16 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1687/0.2581, allocations: 28.97 kB / 380.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.2583, allocations: 40.09 kB / 380.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.2588, allocations: 80.61 kB / 380.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2589, allocations: 0 / 380.3 MB, free: 13.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005483/0.2594, allocations: 122.7 kB / 380.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2595, allocations: 6.469 kB / 380.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2595, allocations: 0 / 380.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.2595, allocations: 0.625 kB / 380.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.2597, allocations: 19.88 kB / 380.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2597, allocations: 0 / 380.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2599, allocations: 15.44 kB / 380.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2599, allocations: 6.656 kB / 380.5 MB, free: 12.98 MB / 318.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 8.68e-05/0.26, allocations: 118.9 kB / 380.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.2601, allocations: 5.625 kB / 380.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/0.2606, allocations: 124.6 kB / 380.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.2607, allocations: 1.703 kB / 380.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2607, allocations: 4.625 kB / 380.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.2607, allocations: 0.5625 kB / 380.7 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.2609, allocations: 192 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.261, allocations: 1.266 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.2611, allocations: 23.8 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2611, allocations: 5.188 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2612, allocations: 3.172 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2612, allocations: 4.688 kB / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2612, allocations: 0 / 380.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.2617, allocations: 218.9 kB / 381.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.2618, allocations: 87.22 kB / 381.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.2618, allocations: 7 kB / 381.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.262, allocations: 11.42 kB / 381.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.2621, allocations: 14.88 kB / 381.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.2621, allocations: 0.5312 kB / 381.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.2621, allocations: 88.27 kB / 381.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2622, allocations: 0 / 381.3 MB, free: 12.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.2626, allocations: 17.88 kB / 381.4 MB, free: 12.34 MB / 318.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.0001405/0.2627, allocations: 107.1 kB / 381.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.2633, allocations: 86.73 kB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2633, allocations: 3.719 kB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.2636, allocations: 50.27 kB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.2641, allocations: 6.859 kB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.2645, allocations: 180.2 kB / 381.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2647, allocations: 0.6911 MB / 382.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.2647, allocations: 14.09 kB / 382.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2647, allocations: 1.375 kB / 382.5 MB, free: 11.4 MB / 318.1 MB Notification: Performance of Templates: time 0.00388/0.2686, allocations: 0.9708 MB / 383.5 MB, free: 11.35 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches