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.001131/0.001131, allocations: 115.1 kB / 18.46 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 206.7 kB / 19.41 MB, free: 3.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2435, allocations: 50.56 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002351/0.2459, allocations: 1.511 MB / 411.4 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.2467, allocations: 0.5375 MB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.2468, allocations: 4 kB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.2469, allocations: 11.92 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.247, allocations: 11.88 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.2472, allocations: 39.89 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.2473, allocations: 59.78 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2474, allocations: 19.98 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.2476, allocations: 35.89 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.2476, allocations: 31.91 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.2477, allocations: 7.938 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.2477, allocations: 19.94 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.2477, allocations: 8 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2478, allocations: 23.86 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.2479, allocations: 71.58 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.248, allocations: 0 / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.248, allocations: 4 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.248, allocations: 0 / 412.3 MB, free: 15.18 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.0006238/0.2486, allocations: 379.2 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2487, allocations: 11.97 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.2487, allocations: 8.891 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2488, allocations: 176.2 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2488, allocations: 4.375 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2489, allocations: 8.375 kB / 412.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.2491, allocations: 85.95 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2491, allocations: 0 / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2492, allocations: 3.938 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.2492, allocations: 0 / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.2495, allocations: 79.86 kB / 413 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.2499, allocations: 316.7 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.2501, allocations: 74.56 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2503, allocations: 40.95 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2503, allocations: 8 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.2504, allocations: 30.56 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2504, allocations: 0 / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005409/0.2509, allocations: 149.5 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.251, allocations: 63.34 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.2511, allocations: 109.8 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2511, allocations: 25.7 kB / 413.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.2511, allocations: 96.02 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2512, allocations: 15.91 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.2512, allocations: 18.08 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.2513, allocations: 318.8 kB / 414.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.2515, allocations: 43.95 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2516, allocations: 31.97 kB / 414.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.2519, allocations: 85.09 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2519, allocations: 0 / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003219/0.2522, allocations: 121.5 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2522, allocations: 8 kB / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.2522, allocations: 0 / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2523, allocations: 0 / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2524, allocations: 19.97 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.2524, allocations: 0 / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.2525, allocations: 19.98 kB / 414.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2525, allocations: 0 / 414.6 MB, free: 12.65 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 7.391e-05/0.2526, allocations: 121.7 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2526, allocations: 7.984 kB / 414.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.253, allocations: 129.5 kB / 414.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.253, allocations: 8 kB / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.253, allocations: 0 / 414.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.2531, allocations: 77.11 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2531, allocations: 11.86 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2532, allocations: 11.98 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2533, allocations: 11.98 kB / 415 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004218/0.2537, allocations: 208.9 kB / 415.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004122/0.2541, allocations: 306.8 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001593/0.2543, allocations: 47.95 kB / 415.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.2543, allocations: 95.2 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Backend: time 3.01e-07/0.2543, allocations: 0 / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005222/0.2549, allocations: 118.4 kB / 415.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005016/0.2554, allocations: 0.5967 MB / 416.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Templates: time 0.003529/0.2589, allocations: 1.154 MB / 417.5 MB, free: 9.656 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