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.001109/0.001109, allocations: 95.08 kB / 16.94 MB, free: 6.441 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.001127/0.001127, allocations: 184.6 kB / 17.83 MB, free: 6.008 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.633/1.633, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004843/0.0004848, allocations: 12 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001794/0.1098, allocations: 1.196 MB / 329.5 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.1107, allocations: 0.5039 MB / 330 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.1107, allocations: 3.938 kB / 330 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.894e-05/0.1108, allocations: 7.938 kB / 330 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.1109, allocations: 7.969 kB / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.111, allocations: 39.84 kB / 330.1 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.99e-05/0.1111, allocations: 27.97 kB / 330.1 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1112, allocations: 11.98 kB / 330.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1114, allocations: 27.84 kB / 330.1 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.1114, allocations: 23.92 kB / 330.2 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1115, allocations: 4 kB / 330.2 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.1115, allocations: 19.92 kB / 330.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.1115, allocations: 7.938 kB / 330.2 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1116, allocations: 29.7 kB / 330.2 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.1117, allocations: 43.91 kB / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1117, allocations: 0 / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1117, allocations: 0 / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1117, allocations: 0 / 330.3 MB, free: 2.129 MB / 270.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.0006629/0.1124, allocations: 383.5 kB / 330.6 MB, free: 1.707 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1124, allocations: 8.031 kB / 330.6 MB, free: 1.699 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.1125, allocations: 7.906 kB / 330.7 MB, free: 1.691 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1126, allocations: 182.8 kB / 330.8 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1126, allocations: 3.953 kB / 330.8 MB, free: 1.469 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.1127, allocations: 12 kB / 330.8 MB, free: 1.457 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.1129, allocations: 93.64 kB / 330.9 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.113, allocations: 0 / 330.9 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.113, allocations: 0 / 330.9 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.113, allocations: 0 / 330.9 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1133, allocations: 103.9 kB / 331 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.1137, allocations: 308.8 kB / 331.3 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.114, allocations: 86.56 kB / 331.4 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.114, allocations: 3.984 kB / 331.4 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1141, allocations: 34.56 kB / 331.5 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1141, allocations: 0 / 331.5 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006094/0.1147, allocations: 189.5 kB / 331.6 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1147, allocations: 51.41 kB / 331.7 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.1148, allocations: 109.8 kB / 331.8 MB, free: 404 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1149, allocations: 29.7 kB / 331.8 MB, free: 368 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.1149, allocations: 91.98 kB / 331.9 MB, free: 272 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1149, allocations: 19.8 kB / 331.9 MB, free: 252 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.115, allocations: 0 / 331.9 MB, free: 252 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1151, allocations: 318.7 kB / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.1153, allocations: 55.95 kB / 332.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1154, allocations: 47.91 kB / 332.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1156, allocations: 47.95 kB / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1156, allocations: 4 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000348/0.116, allocations: 129.6 kB / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.116, allocations: 4 kB / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.116, allocations: 4 kB / 332.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.116, allocations: 4 kB / 332.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1162, allocations: 23.97 kB / 332.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1162, allocations: 0 / 332.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1163, allocations: 23.83 kB / 332.6 MB, free: 15.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1163, allocations: 4 kB / 332.6 MB, free: 15.58 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.732e-05/0.1164, allocations: 121.7 kB / 332.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1165, allocations: 4.438 kB / 332.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.1169, allocations: 149.6 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1169, allocations: 4 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1169, allocations: 0 / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.117, allocations: 0 / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.1172, allocations: 193.5 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1172, allocations: 4 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1173, allocations: 31.97 kB / 333.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1173, allocations: 0 / 333.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1173, allocations: 7.938 kB / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1173, allocations: 0 / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1174, allocations: 384 / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.1178, allocations: 235.4 kB / 333.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.1178, allocations: 85.02 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1179, allocations: 0 / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.118, allocations: 27.92 kB / 333.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.118, allocations: 7.984 kB / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1181, allocations: 0 / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.1181, allocations: 91.27 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1181, allocations: 0 / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1183, allocations: 8 kB / 333.5 MB, free: 14.53 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.1185, allocations: 111.2 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.119, allocations: 103.9 kB / 333.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.119, allocations: 0 / 333.8 MB, free: 14.31 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.1192, allocations: 59.89 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1195, allocations: 19.89 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.1199, allocations: 179.1 kB / 334 MB, free: 14.03 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1202, allocations: 0.6926 MB / 334.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.1202, allocations: 4 kB / 334.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.1203, allocations: 15.42 kB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1203, allocations: 0 / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of Templates: time 0.003402/0.1237, allocations: 0.7368 MB / 335.5 MB, free: 12.56 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches