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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.89 kB / 359.4 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2608, allocations: 50.54 MB / 409.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002791/0.2636, allocations: 1.519 MB / 411.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.2646, allocations: 0.5336 MB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.2646, allocations: 0 / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2648, allocations: 19.86 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/0.2648, allocations: 11.92 kB / 412 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.265, allocations: 39.91 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.2651, allocations: 55.78 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.2652, allocations: 16 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2654, allocations: 39.83 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.2655, allocations: 31.84 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2655, allocations: 8 kB / 412.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.2656, allocations: 12 kB / 412.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.2656, allocations: 16 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.2657, allocations: 23.86 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2658, allocations: 75.7 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2658, allocations: 0 / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2659, allocations: 0 / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2659, allocations: 0 / 412.3 MB, free: 15.25 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.0006635/0.2665, allocations: 379.1 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2666, allocations: 8.031 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.2666, allocations: 8.938 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2668, allocations: 181.4 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2668, allocations: 8.359 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.2668, allocations: 4.375 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.2671, allocations: 89.89 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2671, allocations: 3.938 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2671, allocations: 0 / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2671, allocations: 4 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.2674, allocations: 79.92 kB / 413 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.2679, allocations: 308.6 kB / 413.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.2681, allocations: 74.53 kB / 413.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2683, allocations: 44.95 kB / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.2683, allocations: 0 / 413.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2683, allocations: 30.56 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.2683, allocations: 0 / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005599/0.2689, allocations: 157.6 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.2689, allocations: 51.41 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.269, allocations: 109.8 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2691, allocations: 25.7 kB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.2691, allocations: 99.97 kB / 413.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2692, allocations: 11.81 kB / 413.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.2692, allocations: 21.7 kB / 414 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2693, allocations: 322.8 kB / 414.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2695, allocations: 40.33 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2696, allocations: 31.97 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.2699, allocations: 88.72 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2699, allocations: 0 / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003239/0.2702, allocations: 113.9 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2703, allocations: 6.969 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2703, allocations: 4 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2703, allocations: 4 kB / 414.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2704, allocations: 23.97 kB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2704, allocations: 0 / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.2705, allocations: 11.98 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.2705, allocations: 4 kB / 414.6 MB, free: 12.72 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 8.104e-05/0.2706, allocations: 117.7 kB / 414.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.2707, allocations: 7.906 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.2711, allocations: 141.5 kB / 414.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2711, allocations: 0 / 414.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2711, allocations: 0 / 414.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.2711, allocations: 88.98 kB / 414.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2711, allocations: 7.922 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2713, allocations: 7.984 kB / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.2713, allocations: 12 kB / 415 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004173/0.2717, allocations: 208.8 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003963/0.2721, allocations: 302.8 kB / 415.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001527/0.2723, allocations: 43.95 kB / 415.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.2724, allocations: 95.2 kB / 415.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2724, allocations: 0 / 415.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005121/0.2729, allocations: 126.4 kB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005389/0.2734, allocations: 0.5931 MB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Templates: time 0.00358/0.277, allocations: 1.154 MB / 417.5 MB, free: 9.727 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches