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.001152/0.001152, allocations: 114.5 kB / 18.41 MB, free: 4.68 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.00123/0.00123, allocations: 190.1 kB / 19.35 MB, free: 3.75 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.281/1.281, 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.001212/0.001212, allocations: 52.2 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07044/0.07166, allocations: 46.62 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002317/0.07402, allocations: 1.496 MB / 377.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.0748, allocations: 0.5382 MB / 377.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.07485, allocations: 4 kB / 377.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.07497, allocations: 15.86 kB / 377.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.07504, allocations: 19.86 kB / 377.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.0752, allocations: 35.91 kB / 377.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.07529, allocations: 55.84 kB / 378 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.07539, allocations: 19.97 kB / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.0755, allocations: 27.91 kB / 378 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.07557, allocations: 27.86 kB / 378 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.07559, allocations: 8 kB / 378 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.07566, allocations: 23.92 kB / 378.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.07568, allocations: 15.94 kB / 378.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.07573, allocations: 31.86 kB / 378.1 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.07586, allocations: 67.72 kB / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.07588, allocations: 0 / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07588, allocations: 0 / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.07589, allocations: 0 / 378.2 MB, free: 2.207 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.0005601/0.07646, allocations: 383.2 kB / 378.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.0765, allocations: 12.03 kB / 378.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.07654, allocations: 12.83 kB / 378.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.07664, allocations: 176.3 kB / 378.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.07666, allocations: 4.375 kB / 378.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.07668, allocations: 4.375 kB / 378.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.07693, allocations: 89.89 kB / 378.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.07695, allocations: 3.938 kB / 378.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.07697, allocations: 0 / 378.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.07698, allocations: 4 kB / 378.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.07728, allocations: 79.92 kB / 378.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.07766, allocations: 304.8 kB / 379.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.07792, allocations: 78.56 kB / 379.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.07809, allocations: 44.95 kB / 379.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.07812, allocations: 0 / 379.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.07814, allocations: 30.56 kB / 379.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.07815, allocations: 0 / 379.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000543/0.07869, allocations: 153.5 kB / 379.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.07873, allocations: 51.41 kB / 379.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.792e-05/0.0788, allocations: 113.8 kB / 379.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.07882, allocations: 25.7 kB / 379.7 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.07887, allocations: 100 kB / 379.8 MB, free: 380 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.07889, allocations: 11.91 kB / 379.8 MB, free: 368 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.07893, allocations: 17.72 kB / 379.8 MB, free: 344 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.07903, allocations: 326.8 kB / 380.2 MB, free: 8 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1583/0.2374, allocations: 28.78 kB / 380.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.2376, allocations: 38.2 kB / 380.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.2379, allocations: 84.17 kB / 380.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2379, allocations: 1.312 kB / 380.3 MB, free: 13.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003534/0.2383, allocations: 119.3 kB / 380.4 MB, free: 13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2383, allocations: 5.719 kB / 380.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2383, allocations: 0.9375 kB / 380.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2383, allocations: 1.688 kB / 380.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.2385, allocations: 16.97 kB / 380.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2385, allocations: 3.672 kB / 380.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.2386, allocations: 11.88 kB / 380.5 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.2386, allocations: 1.406 kB / 380.5 MB, free: 13 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 6.441e-05/0.2387, allocations: 125.1 kB / 380.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.2387, allocations: 6.234 kB / 380.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.2391, allocations: 132.2 kB / 380.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2391, allocations: 1.359 kB / 380.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2391, allocations: 3.25 kB / 380.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.2392, allocations: 83.09 kB / 380.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.2392, allocations: 9.469 kB / 380.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.2393, allocations: 10.41 kB / 380.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2394, allocations: 7.953 kB / 380.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004089/0.2398, allocations: 217.7 kB / 381 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003587/0.2401, allocations: 297.9 kB / 381.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001572/0.2403, allocations: 46.17 kB / 381.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.013e-05/0.2403, allocations: 98.03 kB / 381.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of Backend: time 4.6e-07/0.2404, allocations: 0 / 381.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.2409, allocations: 122 kB / 381.6 MB, free: 12.3 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003808/0.2413, allocations: 0.5989 MB / 382.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Templates: time 0.00381/0.2451, allocations: 1.157 MB / 383.4 MB, free: 11.64 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