Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 103.6 kB / 21.19 MB, free: 0.5156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002338/0.002338, allocations: 215.6 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 43.94 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003129/0.246, allocations: 1.516 MB / 433.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2471, allocations: 498.6 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.2472, allocations: 0 / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2473, allocations: 23.84 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.2474, allocations: 7.875 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.2476, allocations: 43.91 kB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.2477, allocations: 59.84 kB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2479, allocations: 11.98 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.2481, allocations: 27.92 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.2482, allocations: 27.84 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.2482, allocations: 4 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.2483, allocations: 23.94 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.2483, allocations: 15.91 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.2483, allocations: 19.92 kB / 434.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.2485, allocations: 70.41 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2485, allocations: 4 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.2485, allocations: 3.984 kB / 434.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2486, allocations: 0 / 434.6 MB, free: 4.402 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.0006728/0.2492, allocations: 302.1 kB / 434.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2493, allocations: 8.031 kB / 434.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.2493, allocations: 8.891 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2494, allocations: 118.4 kB / 435.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2495, allocations: 4.375 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2495, allocations: 12.36 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.2498, allocations: 89.89 kB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2498, allocations: 0 / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2498, allocations: 0 / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2498, allocations: 3.938 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.2501, allocations: 83.91 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.2505, allocations: 240.4 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.2508, allocations: 74.56 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.251, allocations: 48.94 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.251, allocations: 0 / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.251, allocations: 34.56 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.251, allocations: 0 / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005715/0.2516, allocations: 149.7 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2516, allocations: 59.34 kB / 435.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.2517, allocations: 113.8 kB / 436 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2518, allocations: 25.7 kB / 436 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.2518, allocations: 96.02 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.2518, allocations: 15.89 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.2519, allocations: 21.72 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.252, allocations: 322.8 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.2522, allocations: 32.03 kB / 436.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2523, allocations: 43.95 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.2526, allocations: 84.78 kB / 436.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2526, allocations: 0 / 436.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003465/0.253, allocations: 113.5 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.253, allocations: 8 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.253, allocations: 0 / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.253, allocations: 0 / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.2531, allocations: 19.97 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2531, allocations: 4 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.2532, allocations: 11.98 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2532, allocations: 384 / 436.7 MB, free: 2.125 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 8.87e-05/0.2533, allocations: 117.8 kB / 436.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.2533, allocations: 4 kB / 436.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.2538, allocations: 145.5 kB / 437 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2538, allocations: 3.938 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2538, allocations: 0 / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2538, allocations: 0 / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.2539, allocations: 125.2 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2539, allocations: 0 / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.2541, allocations: 23.97 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2541, allocations: 3.938 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2541, allocations: 4 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2541, allocations: 0 / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2541, allocations: 4.188 kB / 437.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.2545, allocations: 231.3 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.2545, allocations: 4 kB / 437.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2545, allocations: 0 / 437.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2546, allocations: 11.98 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.2547, allocations: 11.98 kB / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2547, allocations: 0 / 437.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.2547, allocations: 95.27 kB / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2547, allocations: 0 / 437.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.255, allocations: 8 kB / 437.5 MB, free: 1.281 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.0001316/0.2551, allocations: 99.25 kB / 437.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.2555, allocations: 91.91 kB / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2555, allocations: 0 / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2556, allocations: 44.05 kB / 437.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.256, allocations: 17.98 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.2563, allocations: 191.8 kB / 438 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.948e-05/0.2564, allocations: 67.34 kB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.2565, allocations: 19.42 kB / 438 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2565, allocations: 0 / 438 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of Templates: time 0.002928/0.2594, allocations: 0.9937 MB / 439 MB, free: 15.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.83376006083563]