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.001296/0.001296, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.001574/0.001574, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.461/1.461, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.001644/0.001644, allocations: 47.92 kB / 374.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1052, allocations: 53.33 MB / 427.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003241/0.1084, allocations: 1.527 MB / 429 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1095, allocations: 0.5413 MB / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.1096, allocations: 0 / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1097, allocations: 15.94 kB / 429.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.221e-05/0.1098, allocations: 11.88 kB / 429.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.11, allocations: 43.89 kB / 429.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1101, allocations: 55.84 kB / 429.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1102, allocations: 11.98 kB / 429.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.1104, allocations: 31.86 kB / 429.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.1105, allocations: 31.89 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1105, allocations: 4 kB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.1106, allocations: 23.94 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1106, allocations: 11.92 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.1106, allocations: 27.86 kB / 429.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1108, allocations: 79.72 kB / 429.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1108, allocations: 0 / 429.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1108, allocations: 0 / 429.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1108, allocations: 0 / 429.9 MB, free: 1.914 MB / 350.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.0007049/0.1115, allocations: 387.2 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1116, allocations: 8.031 kB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1116, allocations: 8.891 kB / 430.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1117, allocations: 164.3 kB / 430.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1118, allocations: 12.38 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1118, allocations: 4.375 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.1121, allocations: 85.95 kB / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1121, allocations: 0 / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1121, allocations: 0 / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1121, allocations: 0 / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.1124, allocations: 87.84 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.1129, allocations: 312.7 kB / 430.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1132, allocations: 74.56 kB / 431 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.1134, allocations: 48.88 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1134, allocations: 3.984 kB / 431 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1134, allocations: 34.56 kB / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1134, allocations: 0 / 431.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006511/0.1141, allocations: 153.5 kB / 431.2 MB, free: 400 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.1141, allocations: 55.34 kB / 431.3 MB, free: 332 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.1142, allocations: 113.8 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1143, allocations: 29.7 kB / 431.4 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1143, allocations: 100.1 kB / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1143, allocations: 11.84 kB / 431.5 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.1144, allocations: 17.72 kB / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1146, allocations: 326.8 kB / 431.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.1147, allocations: 35.97 kB / 431.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1149, allocations: 35.95 kB / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.1152, allocations: 81.16 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1152, allocations: 4 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003793/0.1156, allocations: 121.5 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1156, allocations: 4 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1156, allocations: 0 / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1156, allocations: 0 / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1158, allocations: 19.97 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.1158, allocations: 11.98 kB / 432.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.842e-05/0.1159, allocations: 7.984 kB / 432.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1159, allocations: 4 kB / 432.2 MB, free: 15.38 MB / 366.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.466e-05/0.116, allocations: 113.8 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.116, allocations: 4 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.1165, allocations: 137.5 kB / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1165, allocations: 0 / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1165, allocations: 0 / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1165, allocations: 0 / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1167, allocations: 193.5 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1167, allocations: 0 / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.1168, allocations: 24.34 kB / 432.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1168, allocations: 0 / 432.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1168, allocations: 4 kB / 432.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1168, allocations: 4 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1168, allocations: 3.938 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.1173, allocations: 215.4 kB / 432.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1173, allocations: 85 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1173, allocations: 4 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1175, allocations: 15.98 kB / 433 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.1175, allocations: 7.984 kB / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1175, allocations: 3.938 kB / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.1176, allocations: 91.27 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1176, allocations: 0 / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1178, allocations: 19.88 kB / 433.1 MB, free: 14.36 MB / 366.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.0001502/0.118, allocations: 103.8 kB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004029/0.1184, allocations: 83.91 kB / 433.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1184, allocations: 0 / 433.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.1186, allocations: 51.89 kB / 433.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1189, allocations: 8 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.1193, allocations: 179.8 kB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1197, allocations: 0.6885 MB / 434.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.1197, allocations: 11.44 kB / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1197, allocations: 0 / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.002862/0.1226, allocations: 0.9696 MB / 435.2 MB, free: 12.21 MB / 366.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.781027995981276]