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.001552/0.001552, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001915/0.001915, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.581/1.581, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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 1.964e-06/1.964e-06, allocations: 0 / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.468e-05, allocations: 3.594 kB / 325 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003078/0.003113, allocations: 1.518 MB / 326.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.00434, allocations: 0.4983 MB / 327 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.0044, allocations: 0 / 327 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.00454, allocations: 24.52 kB / 327.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.658e-05/0.004627, allocations: 9.984 kB / 327.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.004934, allocations: 42.39 kB / 327.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.005131, allocations: 62.05 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.005311, allocations: 15.27 kB / 327.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.005577, allocations: 40.47 kB / 327.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.005665, allocations: 25.17 kB / 327.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.005689, allocations: 5.438 kB / 327.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.005761, allocations: 22.73 kB / 327.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.005785, allocations: 15.52 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.005824, allocations: 19.7 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.006076, allocations: 71.55 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.006082, allocations: 1.094 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.006085, allocations: 0 / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.006092, allocations: 0 / 327.4 MB, free: 15.01 MB / 302.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.0009044/0.006997, allocations: 307.4 kB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.007041, allocations: 8.656 kB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.007079, allocations: 7.984 kB / 327.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.007211, allocations: 123.3 kB / 327.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.007232, allocations: 2.469 kB / 327.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.00725, allocations: 3.594 kB / 327.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.007561, allocations: 83.2 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.007575, allocations: 4.172 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.007589, allocations: 5.719 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.007596, allocations: 5.281 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.007966, allocations: 80.91 kB / 328 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.008411, allocations: 236 kB / 328.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.008687, allocations: 76.41 kB / 328.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.008849, allocations: 40.39 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.008869, allocations: 3.875 kB / 328.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.008901, allocations: 43.05 kB / 328.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.008902, allocations: 0 / 328.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006878/0.00959, allocations: 146.7 kB / 328.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.009637, allocations: 52.62 kB / 328.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.009753, allocations: 113.8 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.009777, allocations: 29.7 kB / 328.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.00985, allocations: 96.64 kB / 328.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.009879, allocations: 15.58 kB / 328.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.009925, allocations: 19.09 kB / 328.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.0101, allocations: 317.6 kB / 329.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.01027, allocations: 38.64 kB / 329.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.01043, allocations: 38.98 kB / 329.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.01076, allocations: 84.97 kB / 329.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01076, allocations: 0 / 329.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004092/0.01117, allocations: 117.7 kB / 329.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.01119, allocations: 6.625 kB / 329.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.0112, allocations: 0 / 329.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01122, allocations: 4 kB / 329.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01136, allocations: 18.86 kB / 329.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.01137, allocations: 5.031 kB / 329.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.01148, allocations: 11.55 kB / 329.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01149, allocations: 5.875 kB / 329.5 MB, free: 13.38 MB / 302.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 0.0001064/0.0116, allocations: 110.3 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.01163, allocations: 6.312 kB / 329.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.01209, allocations: 140.1 kB / 329.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01209, allocations: 0 / 329.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.0121, allocations: 1.344 kB / 329.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.0121, allocations: 0.6562 kB / 329.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.01229, allocations: 127.3 kB / 329.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01229, allocations: 0.6562 kB / 329.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.01242, allocations: 25.83 kB / 329.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01243, allocations: 7.938 kB / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01244, allocations: 1.906 kB / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01244, allocations: 0.6562 kB / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01244, allocations: 0 / 329.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.01291, allocations: 209.2 kB / 330.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.01293, allocations: 14.61 kB / 330.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.01295, allocations: 5.578 kB / 330.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.01306, allocations: 16.19 kB / 330.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.01312, allocations: 5.547 kB / 330.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.01313, allocations: 10.34 kB / 330.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.658e-05/0.01319, allocations: 85.27 kB / 330.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01319, allocations: 0 / 330.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.01342, allocations: 13.75 kB / 330.3 MB, free: 12.79 MB / 302.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.0001726/0.0136, allocations: 109.1 kB / 330.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004406/0.01404, allocations: 84.7 kB / 330.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01404, allocations: 1.375 kB / 330.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.01424, allocations: 49.17 kB / 330.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.01454, allocations: 8.391 kB / 330.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.01505, allocations: 159.8 kB / 330.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01516, allocations: 71.8 kB / 330.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.01519, allocations: 3.547 kB / 330.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.01526, allocations: 12.17 kB / 330.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01526, allocations: 0 / 330.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Templates: time 0.005072/0.02033, allocations: 0.9708 MB / 331.7 MB, free: 12.05 MB / 302.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/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.543619338423014]