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.001241/0.001241, allocations: 114.4 kB / 17.73 MB, free: 5.32 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.001112/0.001112, allocations: 187.1 kB / 18.66 MB, free: 4.398 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.584/1.584, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001718/0.001718, allocations: 56.34 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1314, allocations: 46.61 MB / 375.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.004072/0.1355, allocations: 1.496 MB / 376.6 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1368, allocations: 0.5429 MB / 377.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.1369, allocations: 4 kB / 377.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1371, allocations: 11.92 kB / 377.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.1372, allocations: 15.81 kB / 377.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1375, allocations: 47.83 kB / 377.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1376, allocations: 51.84 kB / 377.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1378, allocations: 15.98 kB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.138, allocations: 35.89 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.1381, allocations: 31.86 kB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1382, allocations: 8 kB / 377.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.1383, allocations: 19.98 kB / 377.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.1383, allocations: 15.94 kB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.1383, allocations: 27.8 kB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1386, allocations: 67.78 kB / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1386, allocations: 0 / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1386, allocations: 0 / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1386, allocations: 0 / 377.5 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.0008655/0.1395, allocations: 387.2 kB / 377.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.1395, allocations: 12.03 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.1396, allocations: 0.9375 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.1398, allocations: 180.2 kB / 378.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.1398, allocations: 8.375 kB / 378.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1399, allocations: 384 / 378.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.1403, allocations: 85.95 kB / 378.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1403, allocations: 4 kB / 378.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1403, allocations: 4 kB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1403, allocations: 0 / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.1408, allocations: 79.86 kB / 378.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.1414, allocations: 312.6 kB / 378.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.1418, allocations: 78.56 kB / 378.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.1421, allocations: 40.95 kB / 378.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1421, allocations: 0 / 378.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1421, allocations: 34.56 kB / 378.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.1421, allocations: 4 kB / 378.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008539/0.143, allocations: 145.6 kB / 378.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1431, allocations: 55.41 kB / 378.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1432, allocations: 109.8 kB / 379 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1432, allocations: 29.64 kB / 379 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.1433, allocations: 100 kB / 379.1 MB, free: 380 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1434, allocations: 15.81 kB / 379.1 MB, free: 364 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1434, allocations: 13.72 kB / 379.2 MB, free: 344 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1436, allocations: 322.8 kB / 379.5 MB, free: 12 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3554/0.499, allocations: 30.84 kB / 379.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.4992, allocations: 37.16 kB / 379.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.4995, allocations: 83.61 kB / 379.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4995, allocations: 1.203 kB / 379.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004092/0.4999, allocations: 118 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5, allocations: 4.125 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5, allocations: 1.375 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.5, allocations: 0.6562 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5001, allocations: 25.06 kB / 379.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.5002, allocations: 0 / 379.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.5003, allocations: 15.53 kB / 379.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5003, allocations: 1.375 kB / 379.8 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.438e-05/0.5004, allocations: 121.6 kB / 379.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.5004, allocations: 3.688 kB / 379.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.5008, allocations: 130 kB / 380 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5008, allocations: 2.5 kB / 380 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5008, allocations: 0 / 380 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5008, allocations: 1.125 kB / 380 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.501, allocations: 192.5 kB / 380.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.501, allocations: 0.7969 kB / 380.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5011, allocations: 22.88 kB / 380.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5012, allocations: 8.328 kB / 380.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.5012, allocations: 3.25 kB / 380.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5012, allocations: 1.828 kB / 380.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5012, allocations: 0 / 380.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.5016, allocations: 223 kB / 380.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.5016, allocations: 88.73 kB / 380.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.5016, allocations: 1.875 kB / 380.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5017, allocations: 14.75 kB / 380.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.5018, allocations: 5.359 kB / 380.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.5018, allocations: 6.188 kB / 380.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.5019, allocations: 88.28 kB / 380.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5019, allocations: 0 / 380.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.5021, allocations: 20.53 kB / 380.7 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.0001115/0.5022, allocations: 102.1 kB / 380.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.5025, allocations: 91.06 kB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.5026, allocations: 3.812 kB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.5027, allocations: 48.61 kB / 380.9 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.0002181/0.5029, allocations: 6.969 kB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.5032, allocations: 153.4 kB / 381.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.5034, allocations: 0.6883 MB / 381.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.5034, allocations: 6.688 kB / 381.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.5034, allocations: 10.19 kB / 381.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of SimCode: time 1.9e-07/0.5034, allocations: 0 / 381.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Templates: time 0.004075/0.5075, allocations: 0.9302 MB / 382.7 MB, free: 11.37 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/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