Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001783/0.001783, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00206/0.00206, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.481/1.481, allocations: 227.7 MB / 247.7 MB, free: 10.34 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 68.55 kB / 307.9 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 50.54 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003413/0.1144, allocations: 1.513 MB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1156, allocations: 0.5313 MB / 360.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.1156, allocations: 0 / 360.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1158, allocations: 23.92 kB / 360.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.1159, allocations: 7.875 kB / 360.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1161, allocations: 39.91 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1162, allocations: 59.84 kB / 360.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1164, allocations: 23.95 kB / 360.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.1166, allocations: 31.86 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.1167, allocations: 35.78 kB / 360.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1167, allocations: 4 kB / 360.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.1168, allocations: 20 kB / 360.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.1168, allocations: 11.97 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1168, allocations: 23.88 kB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.117, allocations: 79.72 kB / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.117, allocations: 0 / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.117, allocations: 0 / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.117, allocations: 0 / 360.8 MB, free: 11.55 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.0007032/0.1178, allocations: 379.6 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1178, allocations: 8.031 kB / 361.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.1179, allocations: 12.83 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.118, allocations: 168.2 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.118, allocations: 8.375 kB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1181, allocations: 8.375 kB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1184, allocations: 89.89 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.1184, allocations: 0 / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1185, allocations: 0 / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1185, allocations: 0 / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.1188, allocations: 83.91 kB / 361.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.1193, allocations: 304.8 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.1196, allocations: 74.53 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1198, allocations: 52.92 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1198, allocations: 0 / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1198, allocations: 34.5 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1198, allocations: 0 / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006144/0.1205, allocations: 157.5 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.1205, allocations: 51.41 kB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1207, allocations: 117.8 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1207, allocations: 25.7 kB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.1208, allocations: 95.98 kB / 362.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1208, allocations: 11.8 kB / 362.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.1209, allocations: 25.7 kB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.121, allocations: 322.8 kB / 362.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1212, allocations: 35.95 kB / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1214, allocations: 35.97 kB / 362.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.1217, allocations: 88.72 kB / 363 MB, free: 9.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1217, allocations: 0 / 363 MB, free: 9.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003651/0.1221, allocations: 114 kB / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1221, allocations: 8 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1221, allocations: 0 / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1221, allocations: 0 / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1223, allocations: 19.98 kB / 363.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1223, allocations: 0 / 363.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.1224, allocations: 15.92 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1224, allocations: 0 / 363.1 MB, free: 9.031 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 0.0001097/0.1225, allocations: 125.7 kB / 363.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1226, allocations: 7.906 kB / 363.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.123, allocations: 129.6 kB / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.123, allocations: 0 / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.123, allocations: 0 / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.123, allocations: 3.984 kB / 363.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1233, allocations: 189.6 kB / 363.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1233, allocations: 0 / 363.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1234, allocations: 19.98 kB / 363.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1234, allocations: 4 kB / 363.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1235, allocations: 3.984 kB / 363.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1235, allocations: 80 / 363.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.1235, allocations: 7.922 kB / 363.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.1239, allocations: 223.2 kB / 363.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.124, allocations: 85.02 kB / 363.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.124, allocations: 7.984 kB / 363.9 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1241, allocations: 11.98 kB / 363.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.1242, allocations: 4 kB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1242, allocations: 4.359 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.022e-05/0.1243, allocations: 91.22 kB / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1243, allocations: 0 / 364 MB, free: 8.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1245, allocations: 15.94 kB / 364 MB, free: 8.012 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.0001636/0.1247, allocations: 107.2 kB / 364.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.1251, allocations: 87.86 kB / 364.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1251, allocations: 0 / 364.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.1253, allocations: 55.89 kB / 364.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1256, allocations: 6.406 kB / 364.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.126, allocations: 187.7 kB / 364.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.1264, allocations: 0.6924 MB / 365.2 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.1265, allocations: 15.44 kB / 365.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1265, allocations: 0 / 365.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of Templates: time 0.003024/0.1295, allocations: 0.956 MB / 366.1 MB, free: 5.852 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches