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.001181/0.001181, allocations: 110.4 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.53 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09827, allocations: 50.52 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002777/0.1011, allocations: 1.593 MB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008445/0.1019, allocations: 0.522 MB / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.102, allocations: 4 kB / 359.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1021, allocations: 15.94 kB / 359.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.1022, allocations: 7.938 kB / 359.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.1024, allocations: 35.97 kB / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.1025, allocations: 55.78 kB / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1026, allocations: 23.97 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1028, allocations: 35.91 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.1029, allocations: 31.84 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1029, allocations: 8 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.883e-05/0.1029, allocations: 15.94 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.103, allocations: 11.98 kB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.103, allocations: 27.86 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1032, allocations: 67.8 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1032, allocations: 0 / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1032, allocations: 0 / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1032, allocations: 3.984 kB / 359.4 MB, free: 11.96 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.0006028/0.1038, allocations: 383.6 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1039, allocations: 8.031 kB / 359.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.1039, allocations: 8.844 kB / 359.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1041, allocations: 180.2 kB / 360 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1041, allocations: 384 / 360 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.1041, allocations: 4.375 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.1044, allocations: 85.95 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1044, allocations: 3.938 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1044, allocations: 4 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1044, allocations: 4 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1047, allocations: 83.84 kB / 360.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1052, allocations: 300.8 kB / 360.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1054, allocations: 78.62 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1056, allocations: 48.88 kB / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1056, allocations: 0 / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1057, allocations: 34.56 kB / 360.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1057, allocations: 3.938 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005573/0.1062, allocations: 157.5 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1063, allocations: 51.41 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.1064, allocations: 109.8 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1064, allocations: 29.7 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.1065, allocations: 95.98 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1065, allocations: 15.73 kB / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1065, allocations: 21.72 kB / 361.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1067, allocations: 322.8 kB / 361.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1068, allocations: 35.97 kB / 361.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.107, allocations: 35.95 kB / 361.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1072, allocations: 80.8 kB / 361.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1072, allocations: 0 / 361.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003251/0.1076, allocations: 118 kB / 361.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1076, allocations: 4 kB / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1076, allocations: 0 / 361.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1076, allocations: 4 kB / 361.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1078, allocations: 19.92 kB / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1078, allocations: 4 kB / 361.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.1079, allocations: 15.91 kB / 361.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1079, allocations: 4 kB / 361.7 MB, free: 9.43 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 8.197e-05/0.108, allocations: 117.7 kB / 361.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.108, allocations: 8.281 kB / 361.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.1084, allocations: 133.6 kB / 362 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1084, allocations: 0 / 362 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1084, allocations: 0 / 362 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1084, allocations: 3.938 kB / 362 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1086, allocations: 189.6 kB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1086, allocations: 0 / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.1087, allocations: 31.91 kB / 362.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1088, allocations: 0 / 362.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1088, allocations: 4 kB / 362.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1088, allocations: 0 / 362.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1088, allocations: 0 / 362.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.1092, allocations: 227.4 kB / 362.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1092, allocations: 84.95 kB / 362.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1092, allocations: 4 kB / 362.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1094, allocations: 11.98 kB / 362.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.1095, allocations: 7.984 kB / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1095, allocations: 0 / 362.5 MB, free: 8.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.1095, allocations: 91.22 kB / 362.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1095, allocations: 0 / 362.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1098, allocations: 15.94 kB / 362.6 MB, free: 8.414 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.000125/0.1099, allocations: 107.2 kB / 362.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.1102, allocations: 83.91 kB / 362.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1103, allocations: 0 / 362.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.1104, allocations: 55.89 kB / 362.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1107, allocations: 8 kB / 362.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.1111, allocations: 182 kB / 363 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1114, allocations: 0.6908 MB / 363.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.507e-05/0.1115, allocations: 4 kB / 363.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.1115, allocations: 11.44 kB / 363.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1115, allocations: 0 / 363.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of Templates: time 0.003127/0.1147, allocations: 0.8145 MB / 364.6 MB, free: 6.414 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.0.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