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.001665/0.001665, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.00235/0.00235, allocations: 212.4 kB / 24.48 MB, free: 3.957 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.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001532/0.001532, allocations: 51.92 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2525, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002802/0.2553, allocations: 1.508 MB / 433.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.2561, allocations: 498.6 kB / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.2562, allocations: 0 / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2563, allocations: 19.86 kB / 434.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.2564, allocations: 7.875 kB / 434.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.2565, allocations: 43.91 kB / 434.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2566, allocations: 59.84 kB / 434.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2568, allocations: 15.97 kB / 434.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.2569, allocations: 31.86 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.257, allocations: 27.91 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.257, allocations: 8 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.2571, allocations: 16 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.2571, allocations: 15.91 kB / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.2571, allocations: 23.88 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2573, allocations: 82.25 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2573, allocations: 4 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2573, allocations: 0 / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2573, allocations: 0 / 434.6 MB, free: 4.355 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.0005965/0.2579, allocations: 302.1 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2579, allocations: 12.03 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.2579, allocations: 4.891 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.258, allocations: 118.5 kB / 435.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2581, allocations: 8.312 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2581, allocations: 4.375 kB / 435.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.2583, allocations: 89.95 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2583, allocations: 0 / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2584, allocations: 4 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2584, allocations: 0 / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.2587, allocations: 75.92 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.259, allocations: 244.4 kB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.2593, allocations: 70.53 kB / 435.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2595, allocations: 52.92 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2595, allocations: 96 / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2595, allocations: 38.5 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.2595, allocations: 0 / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.2601, allocations: 153.7 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.2601, allocations: 51.41 kB / 435.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.2602, allocations: 117.8 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2602, allocations: 25.7 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.2603, allocations: 96.03 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2603, allocations: 15.89 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.2603, allocations: 17.72 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2605, allocations: 318.8 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2606, allocations: 43.95 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2608, allocations: 43.95 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.261, allocations: 76.8 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.261, allocations: 0 / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000342/0.2614, allocations: 121.5 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2614, allocations: 4 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2614, allocations: 0 / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2614, allocations: 0 / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2615, allocations: 15.98 kB / 436.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2615, allocations: 11.94 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.2616, allocations: 7.984 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2616, allocations: 11.98 kB / 436.8 MB, free: 2.07 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.197e-05/0.2617, allocations: 109.8 kB / 436.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.2618, allocations: 4 kB / 436.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.2622, allocations: 141.5 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2622, allocations: 0 / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2622, allocations: 3.984 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2622, allocations: 0 / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.2623, allocations: 125.2 kB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2623, allocations: 4 kB / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2625, allocations: 23.91 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2625, allocations: 4 kB / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2625, allocations: 0 / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2625, allocations: 192 / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2625, allocations: 4 kB / 437.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.2629, allocations: 227.4 kB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.2629, allocations: 3.984 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2629, allocations: 4 kB / 437.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.263, allocations: 7.984 kB / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.2631, allocations: 11.98 kB / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.2631, allocations: 0 / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.2631, allocations: 95.59 kB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2631, allocations: 0 / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.2633, allocations: 15.98 kB / 437.5 MB, free: 1.234 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.0001297/0.2635, allocations: 99.19 kB / 437.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.2638, allocations: 87.92 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2638, allocations: 0 / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.264, allocations: 47.89 kB / 437.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2643, allocations: 10.52 kB / 437.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.2647, allocations: 195.8 kB / 438 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.287e-05/0.2647, allocations: 75.33 kB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.2648, allocations: 11.44 kB / 438 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2648, allocations: 0 / 438 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Templates: time 0.002536/0.2673, allocations: 0.9991 MB / 439 MB, free: 15.67 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.69836059602676]