Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_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.001283/0.001283, allocations: 114.1 kB / 17.07 MB, free: 6.016 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.001303/0.001303, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001856, allocations: 51.92 kB / 351.3 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4117, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003462/0.4152, allocations: 1.52 MB / 402.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.4164, allocations: 0.4929 MB / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.4165, allocations: 4 kB / 402.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.4168, allocations: 23.86 kB / 402.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.4169, allocations: 7.938 kB / 402.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.4172, allocations: 35.89 kB / 402.8 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.4173, allocations: 59.84 kB / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.4175, allocations: 27.91 kB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.4177, allocations: 23.92 kB / 402.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.4178, allocations: 31.89 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.4178, allocations: 8 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.418, allocations: 23.88 kB / 402.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.418, allocations: 11.92 kB / 403 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.418, allocations: 27.88 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.4183, allocations: 67.58 kB / 403 MB, free: 6.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4183, allocations: 0 / 403 MB, free: 6.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4183, allocations: 0 / 403 MB, free: 6.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.4183, allocations: 0 / 403 MB, free: 6.531 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.0008289/0.4192, allocations: 383.2 kB / 403.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4192, allocations: 8.031 kB / 403.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.4193, allocations: 12.88 kB / 403.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.4194, allocations: 180.2 kB / 403.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.4195, allocations: 384 / 403.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.4195, allocations: 4.375 kB / 403.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.4198, allocations: 85.95 kB / 403.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4198, allocations: 0 / 403.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.4198, allocations: 4 kB / 403.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4199, allocations: 4 kB / 403.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.4202, allocations: 87.84 kB / 403.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.4208, allocations: 296.8 kB / 404.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.4211, allocations: 82.56 kB / 404.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.4212, allocations: 44.94 kB / 404.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.4213, allocations: 3.984 kB / 404.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.4213, allocations: 34.56 kB / 404.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 3.967e-06/0.4213, allocations: 0 / 404.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005669/0.4219, allocations: 149.5 kB / 404.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.4219, allocations: 55.39 kB / 404.4 MB, free: 4.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.422, allocations: 121.7 kB / 404.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4221, allocations: 29.7 kB / 404.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.4221, allocations: 92.08 kB / 404.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.4221, allocations: 11.86 kB / 404.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.4222, allocations: 21.7 kB / 404.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4223, allocations: 322.8 kB / 405 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.4225, allocations: 39.95 kB / 405.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4226, allocations: 31.97 kB / 405.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.4229, allocations: 84.78 kB / 405.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4229, allocations: 0 / 405.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003237/0.4232, allocations: 117.9 kB / 405.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4233, allocations: 4 kB / 405.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4233, allocations: 64 / 405.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4233, allocations: 4 kB / 405.3 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4234, allocations: 23.98 kB / 405.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4234, allocations: 0 / 405.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.4235, allocations: 7.984 kB / 405.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4235, allocations: 4 kB / 405.3 MB, free: 4.004 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.895e-05/0.4236, allocations: 125.7 kB / 405.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4237, allocations: 3.953 kB / 405.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.424, allocations: 133.5 kB / 405.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4241, allocations: 0 / 405.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4241, allocations: 0 / 405.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4241, allocations: 3.984 kB / 405.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.4243, allocations: 189.6 kB / 405.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4243, allocations: 0 / 405.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4244, allocations: 19.98 kB / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4244, allocations: 0 / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4244, allocations: 8 kB / 405.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4244, allocations: 3.984 kB / 405.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4244, allocations: 4 kB / 405.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.4249, allocations: 215.4 kB / 406 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.4249, allocations: 81.06 kB / 406.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4249, allocations: 15.92 kB / 406.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.425, allocations: 11.98 kB / 406.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.4251, allocations: 11.92 kB / 406.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.4251, allocations: 4 kB / 406.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.4252, allocations: 91.58 kB / 406.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4252, allocations: 0 / 406.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.4254, allocations: 19.94 kB / 406.3 MB, free: 2.977 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.0001463/0.4256, allocations: 107.7 kB / 406.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003734/0.426, allocations: 79.92 kB / 406.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.426, allocations: 0 / 406.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4261, allocations: 51.89 kB / 406.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4265, allocations: 12 kB / 406.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.4269, allocations: 162 kB / 406.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4273, allocations: 0.6922 MB / 407.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.4273, allocations: 0 / 407.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.4273, allocations: 11.44 kB / 407.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4274, allocations: 4 kB / 407.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of Templates: time 0.003689/0.431, allocations: 0.9293 MB / 408.3 MB, free: 0.8828 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches