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.001072/0.001072, allocations: 110.8 kB / 17.68 MB, free: 5.332 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.001008/0.001008, allocations: 192 kB / 18.62 MB, free: 4.41 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.315/1.315, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001/0.001, allocations: 56.58 kB / 302 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09767, allocations: 49.44 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002889/0.1006, allocations: 1.502 MB / 353 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1017, allocations: 0.5 MB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.1018, allocations: 4 kB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.102, allocations: 15.86 kB / 353.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.1021, allocations: 3.938 kB / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.1023, allocations: 43.89 kB / 353.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1024, allocations: 59.84 kB / 353.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1025, allocations: 19.94 kB / 353.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1026, allocations: 27.91 kB / 353.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.748e-05/0.1027, allocations: 27.91 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1028, allocations: 8 kB / 353.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.1028, allocations: 19.92 kB / 353.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.1029, allocations: 11.94 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.1029, allocations: 27.86 kB / 353.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1031, allocations: 67.78 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1031, allocations: 0 / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1031, allocations: 0 / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1031, allocations: 4 kB / 353.8 MB, free: 1.363 MB / 286.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.0006716/0.1038, allocations: 383.3 kB / 354.2 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1039, allocations: 11.97 kB / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1039, allocations: 8.844 kB / 354.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.104, allocations: 172.3 kB / 354.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1041, allocations: 384 / 354.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1041, allocations: 4.375 kB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1044, allocations: 93.89 kB / 354.5 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1044, allocations: 3.938 kB / 354.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1044, allocations: 4 kB / 354.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1044, allocations: 4 kB / 354.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1047, allocations: 75.92 kB / 354.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1052, allocations: 308.8 kB / 354.9 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1054, allocations: 74.47 kB / 354.9 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1056, allocations: 44.95 kB / 355 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1056, allocations: 0 / 355 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1057, allocations: 38.56 kB / 355 MB, free: 0 / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.739e-05/0.1057, allocations: 0 / 355 MB, free: 0 / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005449/0.1062, allocations: 153.5 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1063, allocations: 55.34 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.1064, allocations: 113.8 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.1064, allocations: 25.7 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1064, allocations: 96.06 kB / 355.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1065, allocations: 15.72 kB / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.1065, allocations: 17.72 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.1066, allocations: 322.8 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1068, allocations: 39.97 kB / 355.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1069, allocations: 35.95 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.1072, allocations: 84.78 kB / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1072, allocations: 384 / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003218/0.1075, allocations: 121.6 kB / 356.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1075, allocations: 4 kB / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1076, allocations: 0 / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1076, allocations: 0 / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1077, allocations: 28.33 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1077, allocations: 0 / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.1078, allocations: 11.92 kB / 356.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1078, allocations: 8 kB / 356.1 MB, free: 14.82 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 7.486e-05/0.1079, allocations: 121.7 kB / 356.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.108, allocations: 7.906 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.1084, allocations: 137.5 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1084, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1084, allocations: 4 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1084, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1086, allocations: 193.5 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1086, allocations: 0 / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1087, allocations: 19.98 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1087, allocations: 0 / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1087, allocations: 4 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1087, allocations: 0 / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1087, allocations: 0 / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.1091, allocations: 227.2 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.1092, allocations: 81.02 kB / 356.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1092, allocations: 4 kB / 356.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1093, allocations: 15.92 kB / 356.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1093, allocations: 7.984 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1094, allocations: 4 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.1094, allocations: 91.27 kB / 357 MB, free: 13.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1094, allocations: 0 / 357 MB, free: 13.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1096, allocations: 15.94 kB / 357 MB, free: 13.8 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.0001305/0.1098, allocations: 99.78 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.1101, allocations: 91.84 kB / 357.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1102, allocations: 0 / 357.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1103, allocations: 43.97 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.1106, allocations: 8 kB / 357.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.111, allocations: 177.8 kB / 357.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1112, allocations: 0.6846 MB / 358.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.1113, allocations: 3.984 kB / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.1113, allocations: 11.72 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1113, allocations: 0 / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Templates: time 0.003092/0.1144, allocations: 0.9183 MB / 359.1 MB, free: 11.72 MB / 302.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/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