Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001968/0.001968, allocations: 115.3 kB / 21.17 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.535/1.535, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.02 kB / 378.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003096/0.353, allocations: 1.534 MB / 433.5 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3541, allocations: 0.5491 MB / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.3541, allocations: 0 / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.3542, allocations: 11.94 kB / 434.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.3543, allocations: 11.86 kB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3545, allocations: 35.92 kB / 434.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3546, allocations: 63.77 kB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3547, allocations: 15.98 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.3549, allocations: 27.92 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.355, allocations: 31.91 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.355, allocations: 4 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.321e-05/0.3551, allocations: 15.94 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.3551, allocations: 23.91 kB / 434.3 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3551, allocations: 23.86 kB / 434.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3553, allocations: 69.27 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3553, allocations: 4 kB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3553, allocations: 0 / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.403e-06/0.3553, allocations: 0 / 434.4 MB, free: 4.98 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.0007304/0.3561, allocations: 383.2 kB / 434.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3561, allocations: 12.03 kB / 434.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3561, allocations: 8.891 kB / 434.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.3563, allocations: 168.3 kB / 435 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.3563, allocations: 4.375 kB / 435 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3564, allocations: 4.375 kB / 435 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.3566, allocations: 89.94 kB / 435.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3567, allocations: 4 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3567, allocations: 4 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3567, allocations: 0 / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.357, allocations: 83.8 kB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.3575, allocations: 300.8 kB / 435.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.3577, allocations: 74.56 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3579, allocations: 48.94 kB / 435.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.3579, allocations: 7.922 kB / 435.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3579, allocations: 30.56 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.358, allocations: 4 kB / 435.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000585/0.3585, allocations: 149.5 kB / 435.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3586, allocations: 51.41 kB / 435.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3587, allocations: 117.8 kB / 435.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3587, allocations: 25.7 kB / 436 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.3588, allocations: 104 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.3588, allocations: 11.91 kB / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3588, allocations: 13.72 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.359, allocations: 326.8 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3591, allocations: 31.97 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3593, allocations: 52.2 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.3596, allocations: 76.78 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3596, allocations: 0 / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003664/0.36, allocations: 117.6 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.36, allocations: 4 kB / 436.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.36, allocations: 3.938 kB / 436.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.36, allocations: 0 / 436.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3601, allocations: 19.97 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3601, allocations: 0 / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.3602, allocations: 15.98 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3602, allocations: 7.984 kB / 436.7 MB, free: 2.449 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 9.186e-05/0.3603, allocations: 113.8 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3604, allocations: 8 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.3608, allocations: 125.6 kB / 437 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3608, allocations: 0 / 437 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3608, allocations: 3.938 kB / 437 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3608, allocations: 0 / 437 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.361, allocations: 197.5 kB / 437.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.361, allocations: 4 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3611, allocations: 27.91 kB / 437.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3611, allocations: 384 / 437.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3611, allocations: 0 / 437.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3611, allocations: 0 / 437.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3611, allocations: 0 / 437.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.3616, allocations: 235.3 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3616, allocations: 81.06 kB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3616, allocations: 192 / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3617, allocations: 15.98 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.3618, allocations: 15.92 kB / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3618, allocations: 0 / 437.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.3619, allocations: 91.27 kB / 437.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3619, allocations: 4 kB / 437.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.3621, allocations: 11.94 kB / 437.6 MB, free: 1.434 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.0001615/0.3623, allocations: 99.25 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.3627, allocations: 87.92 kB / 437.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3627, allocations: 0 / 437.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.3628, allocations: 47.89 kB / 437.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3632, allocations: 10.25 kB / 437.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.3636, allocations: 195.7 kB / 438.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.364, allocations: 0.6924 MB / 438.8 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.364, allocations: 11.44 kB / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.364, allocations: 0 / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of Templates: time 0.002797/0.3668, allocations: 0.9704 MB / 439.7 MB, free: 15.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.300017724744976]