Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00155/0.00155, allocations: 117.9 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 246.5 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 66.31 kB / 306.5 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 50.55 MB / 357 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002917/0.1106, allocations: 1.562 MB / 358.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.1116, allocations: 0.522 MB / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.1116, allocations: 0 / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.1118, allocations: 23.91 kB / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.1119, allocations: 7.938 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1121, allocations: 35.92 kB / 359.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.1122, allocations: 55.84 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1124, allocations: 27.95 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1126, allocations: 39.84 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.1126, allocations: 27.84 kB / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1127, allocations: 8 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.1127, allocations: 16 kB / 359.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.1127, allocations: 11.97 kB / 359.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.1128, allocations: 27.88 kB / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.113, allocations: 71.78 kB / 359.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.113, allocations: 3.938 kB / 359.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.113, allocations: 0 / 359.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.113, allocations: 0 / 359.5 MB, free: 11.91 MB / 302.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.0007425/0.1137, allocations: 382.1 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1138, allocations: 8.031 kB / 359.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1138, allocations: 8.844 kB / 359.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.114, allocations: 176.2 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.114, allocations: 4.375 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.114, allocations: 8.375 kB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.1143, allocations: 93.83 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1144, allocations: 0 / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1144, allocations: 0 / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1144, allocations: 4 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.1147, allocations: 83.92 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.1152, allocations: 308.7 kB / 360.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1155, allocations: 74.53 kB / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1156, allocations: 40.95 kB / 360.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1157, allocations: 0 / 360.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1157, allocations: 34.55 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1157, allocations: 7.938 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005998/0.1163, allocations: 149.5 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1164, allocations: 51.41 kB / 360.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1165, allocations: 117.8 kB / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1165, allocations: 25.7 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1166, allocations: 95.98 kB / 361.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.1166, allocations: 15.8 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.1167, allocations: 21.7 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1168, allocations: 322.8 kB / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.117, allocations: 35.95 kB / 361.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1172, allocations: 35.97 kB / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1175, allocations: 80.78 kB / 361.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1175, allocations: 0 / 361.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003541/0.1178, allocations: 113.6 kB / 361.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1179, allocations: 4 kB / 361.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1179, allocations: 3.984 kB / 361.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1179, allocations: 4 kB / 361.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1181, allocations: 23.97 kB / 361.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1181, allocations: 384 / 361.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1182, allocations: 15.92 kB / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1182, allocations: 0 / 361.8 MB, free: 9.391 MB / 302.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 9.703e-05/0.1183, allocations: 121.8 kB / 361.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1184, allocations: 7.844 kB / 361.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.1188, allocations: 133.5 kB / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1188, allocations: 448 / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1188, allocations: 0 / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1188, allocations: 0 / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1191, allocations: 193.6 kB / 362.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1191, allocations: 0 / 362.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.1192, allocations: 23.98 kB / 362.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1192, allocations: 4 kB / 362.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1192, allocations: 0 / 362.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1192, allocations: 0 / 362.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.1193, allocations: 8.062 kB / 362.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.1197, allocations: 223.2 kB / 362.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.1198, allocations: 92.95 kB / 362.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1199, allocations: 4 kB / 362.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.12, allocations: 11.97 kB / 362.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.12, allocations: 4 kB / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1201, allocations: 4 kB / 362.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.1201, allocations: 87.27 kB / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1202, allocations: 0 / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1204, allocations: 19.94 kB / 362.7 MB, free: 8.367 MB / 302.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.0001873/0.1206, allocations: 99.25 kB / 362.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.121, allocations: 91.84 kB / 362.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.121, allocations: 0 / 362.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.1212, allocations: 51.95 kB / 362.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1215, allocations: 4 kB / 362.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.122, allocations: 185.9 kB / 363.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1224, allocations: 0.6924 MB / 363.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.912e-05/0.1224, allocations: 0 / 363.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.1225, allocations: 11.72 kB / 363.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1225, allocations: 0 / 363.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of Templates: time 0.003762/0.1262, allocations: 0.8068 MB / 364.6 MB, free: 6.379 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches