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.002021/0.002029, allocations: 109.7 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002363/0.002363, allocations: 212.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.697/2.697, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6363/0.6384, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.004613/0.643, allocations: 1.522 MB / 411.4 MB, free: 92 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.6445, allocations: 0.5336 MB / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.6446, allocations: 0 / 411.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.6448, allocations: 15.86 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.645, allocations: 7.938 kB / 412 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.6452, allocations: 47.89 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.6454, allocations: 55.78 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.6455, allocations: 23.97 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.6458, allocations: 31.91 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.6459, allocations: 27.91 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.646, allocations: 8 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.6461, allocations: 23.88 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.6461, allocations: 7.984 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.6462, allocations: 27.88 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.6464, allocations: 67.78 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6464, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6464, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.6464, allocations: 0 / 412.3 MB, free: 15.21 MB / 334.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.001001/0.6474, allocations: 387.1 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.6475, allocations: 12.02 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.6476, allocations: 4.938 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.6478, allocations: 177.5 kB / 412.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.6478, allocations: 4.375 kB / 412.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.6479, allocations: 4.375 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.6483, allocations: 93.83 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6483, allocations: 0 / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.6484, allocations: 4 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.6484, allocations: 7.938 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.6489, allocations: 83.91 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.6496, allocations: 304.6 kB / 413.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.65, allocations: 74.53 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.6503, allocations: 48.94 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.6504, allocations: 0 / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.6504, allocations: 34.56 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.6504, allocations: 0 / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009781/0.6514, allocations: 153.6 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6515, allocations: 51.41 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.6516, allocations: 109.8 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6517, allocations: 29.7 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.6517, allocations: 95.98 kB / 413.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.6518, allocations: 11.8 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.6519, allocations: 17.72 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6521, allocations: 322.8 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.6523, allocations: 39.95 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.6526, allocations: 31.97 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.6531, allocations: 84.78 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6531, allocations: 0 / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005928/0.6537, allocations: 121.5 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.6538, allocations: 4 kB / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6538, allocations: 0 / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6538, allocations: 0 / 414.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.654, allocations: 19.98 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.6541, allocations: 4.375 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.6542, allocations: 8.422 kB / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.6542, allocations: 4 kB / 414.6 MB, free: 12.69 MB / 334.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.0001358/0.6544, allocations: 121.7 kB / 414.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.6544, allocations: 11.84 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.6551, allocations: 133.5 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6551, allocations: 0 / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6552, allocations: 4 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.6552, allocations: 3.984 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.6556, allocations: 193.5 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6556, allocations: 3.938 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.6558, allocations: 19.98 kB / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6558, allocations: 0 / 415.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.6558, allocations: 11.98 kB / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6558, allocations: 0 / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6559, allocations: 0 / 415.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.6565, allocations: 219.3 kB / 415.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6567, allocations: 81.09 kB / 415.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.6567, allocations: 11.98 kB / 415.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.6569, allocations: 11.98 kB / 415.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.657, allocations: 4 kB / 415.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.657, allocations: 3.984 kB / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.6571, allocations: 87.28 kB / 415.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6571, allocations: 0 / 415.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004527/0.6576, allocations: 19.94 kB / 415.5 MB, free: 11.66 MB / 334.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.000225/0.6578, allocations: 103.2 kB / 415.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.6584, allocations: 87.84 kB / 415.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6584, allocations: 0 / 415.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.6587, allocations: 51.95 kB / 415.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.6593, allocations: 13.2 kB / 415.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.6599, allocations: 187.8 kB / 415.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.6603, allocations: 0.6885 MB / 416.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.6604, allocations: 11.44 kB / 416.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6604, allocations: 288 / 416.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Templates: time 0.004047/0.6645, allocations: 0.9804 MB / 417.6 MB, free: 9.48 MB / 334.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