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.001529/0.001529, allocations: 113.2 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.001575/0.001575, allocations: 184.2 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.651/1.651, allocations: 205.1 MB / 224.5 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.001342/0.001342, allocations: 51.92 kB / 328.5 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 46.63 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002702/0.1208, allocations: 1.492 MB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.1217, allocations: 0.5391 MB / 377.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1218, allocations: 0 / 377.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1219, allocations: 23.86 kB / 377.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.272e-05/0.122, allocations: 7.875 kB / 377.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.1221, allocations: 43.83 kB / 377.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.1222, allocations: 55.91 kB / 377.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1224, allocations: 15.98 kB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1225, allocations: 35.84 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.1226, allocations: 31.84 kB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1226, allocations: 4 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.1227, allocations: 20 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1227, allocations: 11.98 kB / 377.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1227, allocations: 27.8 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1229, allocations: 75.72 kB / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1229, allocations: 0 / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1229, allocations: 0 / 377.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1229, 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.0006729/0.1236, allocations: 391.2 kB / 377.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1237, allocations: 8.031 kB / 377.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1237, allocations: 4.938 kB / 377.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1238, allocations: 168.3 kB / 378 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1239, allocations: 384 / 378 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1239, allocations: 4.375 kB / 378.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1242, allocations: 101.8 kB / 378.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1242, allocations: 0 / 378.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1242, allocations: 4 kB / 378.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1242, allocations: 4 kB / 378.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.1245, allocations: 71.92 kB / 378.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1249, allocations: 316.6 kB / 378.5 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1252, allocations: 74.53 kB / 378.6 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1254, allocations: 44.94 kB / 378.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1254, allocations: 0 / 378.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1254, allocations: 38.56 kB / 378.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1254, allocations: 0 / 378.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005533/0.126, allocations: 149.6 kB / 378.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.126, allocations: 51.41 kB / 378.9 MB, free: 0.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.1261, allocations: 109.8 kB / 379 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1261, allocations: 33.7 kB / 379 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.1262, allocations: 96.03 kB / 379.1 MB, free: 380 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.1262, allocations: 7.812 kB / 379.1 MB, free: 372 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.1263, allocations: 17.72 kB / 379.1 MB, free: 348 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1264, allocations: 322.8 kB / 379.5 MB, free: 16 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2891/0.4155, allocations: 29.61 kB / 379.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.4158, allocations: 40.59 kB / 379.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.4162, allocations: 84.25 kB / 379.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.4163, allocations: 0 / 379.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005635/0.4168, allocations: 120.8 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.4169, allocations: 5.5 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4169, allocations: 0 / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.779e-05/0.417, allocations: 2.031 kB / 379.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.4172, allocations: 18.45 kB / 379.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4173, allocations: 0 / 379.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.4174, allocations: 17.75 kB / 379.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4174, allocations: 2.406 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 0.0001352/0.4176, allocations: 120.8 kB / 379.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.4176, allocations: 7.422 kB / 379.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.4182, allocations: 130.3 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4182, allocations: 2.766 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4182, allocations: 2.062 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4182, allocations: 3 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.4185, allocations: 186.6 kB / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4186, allocations: 0 / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.4187, allocations: 21.03 kB / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4187, allocations: 5.062 kB / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4187, allocations: 4.484 kB / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4187, allocations: 1.375 kB / 380.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4187, allocations: 0 / 380.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.4192, allocations: 233.9 kB / 380.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.4192, allocations: 80.05 kB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.4193, allocations: 2.5 kB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4194, allocations: 14.88 kB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4195, allocations: 8.141 kB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4195, allocations: 2.75 kB / 380.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.4196, allocations: 87.89 kB / 380.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4196, allocations: 0 / 380.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.4198, allocations: 25.22 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.0001674/0.42, allocations: 99.33 kB / 380.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.4206, allocations: 88.45 kB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4206, allocations: 4.031 kB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.4209, allocations: 44.59 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.0005353/0.4214, allocations: 9.625 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.0005133/0.4219, allocations: 162.5 kB / 381.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.4221, allocations: 0.6883 MB / 381.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.4222, allocations: 3.406 kB / 381.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.4223, allocations: 14.12 kB / 381.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4223, allocations: 0 / 381.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of Templates: time 0.006501/0.4288, allocations: 0.9226 MB / 382.7 MB, free: 11.36 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