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.001283/0.001283, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001372/0.001372, allocations: 211 kB / 24.48 MB, free: 4.035 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.36/1.36, 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.001875/0.001875, allocations: 59.89 kB / 378.7 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2509, allocations: 53.31 MB / 432 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002752/0.2537, allocations: 1.53 MB / 433.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009437/0.2546, allocations: 0.5414 MB / 434.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.2547, allocations: 0 / 434.1 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2548, allocations: 23.86 kB / 434.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.2549, allocations: 7.875 kB / 434.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.2551, allocations: 43.89 kB / 434.2 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.2552, allocations: 55.84 kB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.2553, allocations: 15.94 kB / 434.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.2554, allocations: 39.83 kB / 434.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.2555, allocations: 27.91 kB / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.2555, allocations: 4 kB / 434.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.2556, allocations: 20 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.2556, allocations: 11.94 kB / 434.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2556, allocations: 23.86 kB / 434.4 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.2558, allocations: 77.62 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2558, allocations: 0 / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2558, allocations: 0 / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.2558, allocations: 0 / 434.4 MB, free: 5.039 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.0006718/0.2565, allocations: 383.2 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2565, allocations: 8.031 kB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.2566, allocations: 8.891 kB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.2567, allocations: 172.3 kB / 435 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2567, allocations: 8.375 kB / 435 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2568, allocations: 4.375 kB / 435 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.2571, allocations: 93.89 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2571, allocations: 3.984 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2571, allocations: 4 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2571, allocations: 0 / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.2574, allocations: 75.92 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.2579, allocations: 320.6 kB / 435.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.2581, allocations: 70.53 kB / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2583, allocations: 36.95 kB / 435.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2583, allocations: 0 / 435.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.2584, allocations: 42.59 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.2584, allocations: 0 / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006189/0.259, allocations: 149.5 kB / 435.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.259, allocations: 51.41 kB / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.2591, allocations: 117.8 kB / 435.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2591, allocations: 29.7 kB / 436 MB, free: 3.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.2592, allocations: 100 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.2592, allocations: 7.906 kB / 436.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.2593, allocations: 21.7 kB / 436.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2594, allocations: 318.8 kB / 436.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.2596, allocations: 39.95 kB / 436.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.2597, allocations: 39.97 kB / 436.5 MB, free: 2.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.26, allocations: 84.72 kB / 436.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.26, allocations: 0 / 436.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003603/0.2604, allocations: 117.6 kB / 436.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2604, allocations: 6.656 kB / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2604, allocations: 0 / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2604, allocations: 0 / 436.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.2606, allocations: 19.97 kB / 436.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2606, allocations: 3.984 kB / 436.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/0.2607, allocations: 11.98 kB / 436.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2607, allocations: 8 kB / 436.7 MB, free: 2.508 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.131e-05/0.2608, allocations: 117.7 kB / 436.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.2608, allocations: 4.438 kB / 436.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.2612, allocations: 133.5 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2612, allocations: 0 / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2612, allocations: 0 / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.2613, allocations: 89 kB / 437.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2613, allocations: 15.92 kB / 437.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2614, allocations: 11.98 kB / 437.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.2615, allocations: 4 kB / 437.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004759/0.262, allocations: 212.8 kB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005111/0.2625, allocations: 298.7 kB / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000176/0.2626, allocations: 43.95 kB / 437.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.2627, allocations: 99.52 kB / 437.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Backend: time 7.21e-07/0.2627, allocations: 4 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.2632, allocations: 122.3 kB / 437.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006452/0.2639, allocations: 0.6006 MB / 438.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Templates: time 0.004241/0.2681, allocations: 1.169 MB / 439.6 MB, free: 15.49 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: 4.261833718046546]