Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001506/0.001506, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001445/0.001445, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 58.36 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1261, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003007/0.1291, allocations: 1.518 MB / 380.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.1301, allocations: 498.7 kB / 380.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.1301, allocations: 0 / 380.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1302, allocations: 15.88 kB / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.1303, allocations: 11.86 kB / 380.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.1305, allocations: 43.91 kB / 381 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.1306, allocations: 55.84 kB / 381 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1307, allocations: 11.98 kB / 381 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1309, allocations: 39.84 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.131, allocations: 31.84 kB / 381.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.131, allocations: 8 kB / 381.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.131, allocations: 12 kB / 381.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1311, allocations: 11.98 kB / 381.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1311, allocations: 23.88 kB / 381.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1313, allocations: 75.66 kB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1313, allocations: 0 / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1313, allocations: 0 / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1313, allocations: 3.938 kB / 381.2 MB, free: 13.11 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.0006547/0.1319, allocations: 310.1 kB / 381.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.132, allocations: 12.03 kB / 381.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.132, allocations: 4.891 kB / 381.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1321, allocations: 122.4 kB / 381.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1321, allocations: 4.375 kB / 381.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1322, allocations: 8.375 kB / 381.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.1325, allocations: 89.94 kB / 381.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1325, allocations: 0 / 381.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1325, allocations: 4 kB / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.1325, allocations: 0 / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1328, allocations: 75.92 kB / 381.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1332, allocations: 244.4 kB / 382.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.1335, allocations: 70.53 kB / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1337, allocations: 44.94 kB / 382.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1337, allocations: 8.031 kB / 382.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1337, allocations: 34.56 kB / 382.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1337, allocations: 0 / 382.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000574/0.1343, allocations: 157.5 kB / 382.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1343, allocations: 51.41 kB / 382.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.1344, allocations: 109.8 kB / 382.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1344, allocations: 25.7 kB / 382.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1345, allocations: 92.47 kB / 382.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1345, allocations: 19.83 kB / 382.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1346, allocations: 17.72 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1347, allocations: 318.8 kB / 383 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1349, allocations: 51.83 kB / 383.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.135, allocations: 31.97 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.1353, allocations: 85.16 kB / 383.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1353, allocations: 0 / 383.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003542/0.1357, allocations: 121.6 kB / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1357, allocations: 4 kB / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1357, allocations: 0 / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1357, allocations: 0 / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1359, allocations: 15.98 kB / 383.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1359, allocations: 7.938 kB / 383.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.1359, allocations: 7.984 kB / 383.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1359, allocations: 7.984 kB / 383.3 MB, free: 10.82 MB / 350.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.417e-05/0.136, allocations: 117.8 kB / 383.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1361, allocations: 4 kB / 383.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.1365, allocations: 133.7 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1365, allocations: 0 / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1365, allocations: 3.984 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1365, allocations: 0 / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1366, allocations: 125.2 kB / 383.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1366, allocations: 4 kB / 383.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1368, allocations: 23.91 kB / 383.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1368, allocations: 4 kB / 383.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1368, allocations: 4 kB / 383.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1368, allocations: 0 / 383.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1368, allocations: 0 / 383.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.1372, allocations: 219.4 kB / 384 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.1372, allocations: 7.922 kB / 384 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1372, allocations: 7.938 kB / 384 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1373, allocations: 11.98 kB / 384 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.1374, allocations: 7.984 kB / 384 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1374, allocations: 0 / 384 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.909e-05/0.1374, allocations: 87.28 kB / 384.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1374, allocations: 0 / 384.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1377, allocations: 16.28 kB / 384.1 MB, free: 9.992 MB / 350.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.0001523/0.1378, allocations: 111.2 kB / 384.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.1382, allocations: 83.98 kB / 384.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1382, allocations: 3.938 kB / 384.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.1384, allocations: 51.89 kB / 384.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1387, allocations: 15.03 kB / 384.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.1391, allocations: 162.1 kB / 384.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.1391, allocations: 71.33 kB / 384.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.139e-05/0.1392, allocations: 4 kB / 384.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.1392, allocations: 12.5 kB / 384.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1392, allocations: 4 kB / 384.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Templates: time 0.003892/0.1431, allocations: 0.9468 MB / 385.6 MB, free: 8.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.364416841068305]