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.001389/0.001389, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001492/0.001492, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 18.57 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.505/1.505, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.363e-06/1.363e-06, allocations: 0 / 272.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.473e-05, allocations: 2.312 kB / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003089/0.003124, allocations: 1.529 MB / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.004176, allocations: 0.4947 MB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.004219, allocations: 0 / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.004339, allocations: 23.86 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.004414, allocations: 11.86 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.004589, allocations: 35.84 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.004694, allocations: 63.78 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.004787, allocations: 11.98 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.004996, allocations: 47.83 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.005059, allocations: 19.97 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.005089, allocations: 8 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.826e-05/0.005157, allocations: 16 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.005179, allocations: 15.92 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.005214, allocations: 15.98 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.005393, allocations: 79.66 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005396, allocations: 0 / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005397, allocations: 0 / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005401, allocations: 0 / 274.6 MB, free: 15.49 MB / 266.7 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.0006571/0.006058, allocations: 302.1 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.006096, allocations: 15.97 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.006145, allocations: 8.891 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.006271, allocations: 121.7 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.006291, allocations: 4.375 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.006305, allocations: 4.375 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.006601, allocations: 86.14 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.006608, allocations: 192 / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.006623, allocations: 4.375 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.006631, allocations: 7.922 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.006974, allocations: 79.92 kB / 275.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.007419, allocations: 240.4 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.007692, allocations: 70.47 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.007871, allocations: 48.94 kB / 275.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.007891, allocations: 4 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.007925, allocations: 30.56 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.007926, allocations: 0 / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006293/0.008555, allocations: 153.6 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.008603, allocations: 55.41 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.00871, allocations: 113.8 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.00873, allocations: 25.7 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.008801, allocations: 96.03 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.008827, allocations: 15.89 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.008868, allocations: 13.72 kB / 276.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.009052, allocations: 318.8 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.009222, allocations: 35.95 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.009375, allocations: 39.97 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.00968, allocations: 77.16 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.009684, allocations: 7.938 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000395/0.01008, allocations: 129.4 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.0101, allocations: 8 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.0101, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.01012, allocations: 0 / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01026, allocations: 15.98 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.01027, allocations: 0 / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.01036, allocations: 15.98 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.01037, allocations: 3.984 kB / 276.7 MB, free: 13.21 MB / 266.7 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.831e-05/0.01046, allocations: 113.8 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.0105, allocations: 11.94 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.01094, allocations: 133.7 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01095, allocations: 0 / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.01095, allocations: 3.984 kB / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01095, allocations: 0 / 277 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.01114, allocations: 125.2 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01114, allocations: 4 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.01127, allocations: 27.91 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.01127, allocations: 4 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01128, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01128, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01129, allocations: 0 / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.01173, allocations: 215.4 kB / 277.4 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.01175, allocations: 15.88 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.01177, allocations: 4 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01189, allocations: 15.98 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.01193, allocations: 3.984 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.01194, allocations: 4 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.012, allocations: 83.66 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.012, allocations: 0 / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.01224, allocations: 12 kB / 277.5 MB, free: 12.39 MB / 266.7 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.0001628/0.0124, allocations: 111.2 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.01278, allocations: 83.86 kB / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01278, allocations: 0 / 277.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.01295, allocations: 47.95 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.01327, allocations: 12.41 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.0137, allocations: 164.3 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.99e-05/0.01378, allocations: 71.58 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.01382, allocations: 8 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.01386, allocations: 16.5 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01386, allocations: 3.938 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Templates: time 0.004062/0.01792, allocations: 0.9536 MB / 279 MB, free: 10.88 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/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: 4.315884134033695]