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.0008475/0.0008474, allocations: 96.94 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009357/0.0009358, allocations: 208.1 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002263/0.0002264, allocations: 4 kB / 308.4 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08713, allocations: 51.53 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001542/0.08871, allocations: 1.231 MB / 361.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.08956, allocations: 0.5182 MB / 361.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.08961, allocations: 0 / 361.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.57e-05/0.08972, allocations: 19.92 kB / 361.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.0898, allocations: 3.938 kB / 361.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.08996, allocations: 39.97 kB / 361.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.09005, allocations: 55.78 kB / 361.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.09014, allocations: 15.98 kB / 361.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.09028, allocations: 31.89 kB / 361.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.09035, allocations: 19.92 kB / 361.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.09037, allocations: 0 / 361.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.09043, allocations: 23.88 kB / 361.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.09045, allocations: 7.984 kB / 361.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.09049, allocations: 45.56 kB / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.09061, allocations: 51.91 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.09063, allocations: 0 / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09064, allocations: 4 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.09065, allocations: 0 / 362 MB, free: 11.21 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.0005403/0.09119, allocations: 383.5 kB / 362.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.09124, allocations: 12.03 kB / 362.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.09127, allocations: 4.938 kB / 362.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.09138, allocations: 172.2 kB / 362.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.0914, allocations: 8.25 kB / 362.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.09142, allocations: 8.375 kB / 362.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.09172, allocations: 97.95 kB / 362.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.09174, allocations: 0 / 362.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.09176, allocations: 4 kB / 362.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.09177, allocations: 0 / 362.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.09211, allocations: 103.9 kB / 362.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.09252, allocations: 316.6 kB / 363.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.09279, allocations: 86.53 kB / 363.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.09298, allocations: 60.94 kB / 363.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.09301, allocations: 96 / 363.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.09303, allocations: 34.5 kB / 363.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.09304, allocations: 4 kB / 363.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.000602/0.09365, allocations: 185.5 kB / 363.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.09369, allocations: 51.41 kB / 363.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.09378, allocations: 113.8 kB / 363.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.0938, allocations: 25.7 kB / 363.6 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.09385, allocations: 88.08 kB / 363.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.09388, allocations: 16.17 kB / 363.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.09391, allocations: 13.72 kB / 363.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.09401, allocations: 318.8 kB / 364 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.09419, allocations: 55.89 kB / 364.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.09435, allocations: 47.91 kB / 364.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.09468, allocations: 109.2 kB / 364.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.0947, allocations: 4 kB / 364.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003644/0.09507, allocations: 133.5 kB / 364.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.09509, allocations: 8 kB / 364.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.0951, allocations: 0 / 364.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.09511, allocations: 0 / 364.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.09527, allocations: 23.98 kB / 364.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.09529, allocations: 7.938 kB / 364.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.0954, allocations: 19.92 kB / 364.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.09541, allocations: 4 kB / 364.4 MB, free: 8.52 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.283e-05/0.09549, allocations: 121.7 kB / 364.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.09553, allocations: 7.906 kB / 364.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.09594, allocations: 153.5 kB / 364.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.09595, allocations: 4 kB / 364.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.09596, allocations: 0 / 364.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.09597, allocations: 3.984 kB / 364.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.09615, allocations: 189.6 kB / 364.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09615, allocations: 0 / 364.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.09628, allocations: 27.92 kB / 364.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.09629, allocations: 0 / 364.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.09631, allocations: 3.984 kB / 364.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.09631, allocations: 0 / 364.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.09632, allocations: 4.078 kB / 364.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.09673, allocations: 247.3 kB / 365.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.09678, allocations: 77.11 kB / 365.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.09681, allocations: 3.984 kB / 365.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.09693, allocations: 15.98 kB / 365.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.09698, allocations: 11.98 kB / 365.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.09699, allocations: 8 kB / 365.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.09704, allocations: 83.28 kB / 365.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09704, allocations: 0 / 365.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.09727, allocations: 19.84 kB / 365.4 MB, free: 7.453 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.0001075/0.09738, allocations: 103.5 kB / 365.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.09778, allocations: 111.9 kB / 365.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.0978, allocations: 4 kB / 365.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.09798, allocations: 63.83 kB / 365.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.09825, allocations: 4 kB / 365.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.09857, allocations: 212.3 kB / 365.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.09878, allocations: 0.6887 MB / 366.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.09883, allocations: 11.44 kB / 366.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09883, allocations: 0 / 366.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of Templates: time 0.002229/0.1011, allocations: 0.9505 MB / 367.5 MB, free: 5.25 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/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_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches