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.0008481/0.0008481, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.7 MB / 246.8 MB, free: 9.668 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002541, allocations: 4.281 kB / 307.7 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 51.53 MB / 359.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001533/0.1095, allocations: 1.231 MB / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.1103, allocations: 0.5182 MB / 361 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.1103, allocations: 0 / 361 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.673e-05/0.1104, allocations: 19.94 kB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.067e-05/0.1105, allocations: 15.91 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.1106, allocations: 31.98 kB / 361.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.1107, allocations: 55.78 kB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.1108, allocations: 15.98 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.111, allocations: 27.91 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.1111, allocations: 23.91 kB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1111, allocations: 0 / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.1112, allocations: 23.94 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.1112, allocations: 7.984 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.1112, allocations: 49.5 kB / 361.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1114, allocations: 63.77 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1114, allocations: 0 / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1114, allocations: 4 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1114, allocations: 0 / 361.3 MB, free: 10.99 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.0005793/0.112, allocations: 387.6 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.112, allocations: 8.031 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.1121, allocations: 4.938 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1122, allocations: 176.2 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1122, allocations: 384 / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1122, allocations: 8.312 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1125, allocations: 101.9 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1125, allocations: 0 / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1125, allocations: 8 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1126, allocations: 0 / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1129, allocations: 99.92 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.1133, allocations: 308.7 kB / 362.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1136, allocations: 86.52 kB / 362.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1138, allocations: 52.95 kB / 362.5 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1138, allocations: 4 kB / 362.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1138, allocations: 38.59 kB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1138, allocations: 0 / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006033/0.1144, allocations: 193.5 kB / 362.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.1145, allocations: 51.41 kB / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.1145, allocations: 113.8 kB / 362.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1146, allocations: 29.7 kB / 363 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.1146, allocations: 92.06 kB / 363 MB, free: 9.066 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1146, allocations: 11.81 kB / 363.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.1147, allocations: 17.72 kB / 363.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.1148, allocations: 322.8 kB / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.1149, allocations: 43.97 kB / 363.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1151, allocations: 51.89 kB / 363.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.1154, allocations: 104.8 kB / 363.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1155, allocations: 4 kB / 363.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003642/0.1158, allocations: 129.5 kB / 363.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1159, allocations: 8 kB / 363.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1159, allocations: 3.984 kB / 363.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1159, allocations: 0 / 363.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.116, allocations: 32.34 kB / 363.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.116, allocations: 0 / 363.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.1161, allocations: 19.92 kB / 363.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1162, allocations: 4 kB / 363.8 MB, free: 8.305 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.008e-05/0.1162, allocations: 125.6 kB / 363.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1163, allocations: 11.91 kB / 363.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.1167, allocations: 157.5 kB / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1167, allocations: 0 / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1167, allocations: 0 / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1167, allocations: 0 / 364.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1169, allocations: 185.6 kB / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1169, allocations: 0 / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.1171, allocations: 27.97 kB / 364.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1171, allocations: 7.938 kB / 364.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1171, allocations: 0 / 364.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1171, allocations: 448 / 364.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1171, allocations: 0 / 364.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1175, allocations: 251.3 kB / 364.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.1176, allocations: 77.11 kB / 364.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1176, allocations: 8 kB / 364.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1177, allocations: 15.98 kB / 364.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.1178, allocations: 15.92 kB / 364.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1178, allocations: 4 kB / 364.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.1178, allocations: 87.27 kB / 364.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1178, allocations: 0 / 364.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.118, allocations: 19.84 kB / 364.8 MB, free: 7.227 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.0001254/0.1182, allocations: 103.2 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.1186, allocations: 107.9 kB / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1186, allocations: 0 / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.1188, allocations: 59.89 kB / 365 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.119, allocations: 6.234 kB / 365 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.1194, allocations: 186.6 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1196, allocations: 0.6887 MB / 365.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.235e-05/0.1197, allocations: 4.281 kB / 365.9 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1197, allocations: 11.44 kB / 365.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1197, allocations: 0 / 365.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of Templates: time 0.002914/0.1226, allocations: 0.7593 MB / 366.7 MB, free: 5.254 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