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.0007174/0.0007174, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005045/0.005045, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 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 0.921/0.921, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.433e-06/1.433e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.618e-05, allocations: 2.281 kB / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001905/0.001931, allocations: 1.522 MB / 327.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006194/0.00255, allocations: 0.4985 MB / 327.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.002585, allocations: 0 / 327.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.002671, allocations: 19.92 kB / 327.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.002723, allocations: 7.875 kB / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.002858, allocations: 39.84 kB / 327.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.002928, allocations: 63.78 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.003017, allocations: 11.98 kB / 327.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.003184, allocations: 47.89 kB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.00323, allocations: 23.91 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.003244, allocations: 4 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.003287, allocations: 19.94 kB / 328 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.003302, allocations: 19.91 kB / 328.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.00332, allocations: 8 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003449, allocations: 75.77 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003451, allocations: 3.938 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003452, allocations: 4 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.003456, allocations: 0 / 328.1 MB, free: 13.08 MB / 298.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.0004043/0.00386, allocations: 310.1 kB / 328.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.003893, allocations: 8.031 kB / 328.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.003921, allocations: 8.891 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.525e-05/0.003996, allocations: 113.7 kB / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.00401, allocations: 4.375 kB / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.004019, allocations: 384 / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.004179, allocations: 90.14 kB / 328.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004186, allocations: 4.188 kB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.004196, allocations: 4.375 kB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.004201, allocations: 3.938 kB / 328.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.004357, allocations: 83.84 kB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.004639, allocations: 236.5 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.004784, allocations: 86.48 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.004861, allocations: 40.95 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.004874, allocations: 0 / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.004893, allocations: 34.56 kB / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.004893, allocations: 0 / 329.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003086/0.005202, allocations: 149.5 kB / 329.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.005232, allocations: 55.41 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/0.005287, allocations: 109.8 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.005297, allocations: 33.64 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.005333, allocations: 96.02 kB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.005353, allocations: 15.91 kB / 329.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.005379, allocations: 13.72 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.005453, allocations: 322.8 kB / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.005524, allocations: 31.97 kB / 330 MB, free: 11.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.005593, allocations: 39.95 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.00573, allocations: 76.78 kB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005732, allocations: 4 kB / 330.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001741/0.005906, allocations: 122 kB / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.005924, allocations: 8 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.00593, allocations: 3.938 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005941, allocations: 0 / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.331e-05/0.006014, allocations: 23.91 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006019, allocations: 4 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.006056, allocations: 15.98 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.006061, allocations: 384 / 330.3 MB, free: 10.8 MB / 298.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 5.457e-05/0.006116, allocations: 109.8 kB / 330.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.006131, allocations: 11.94 kB / 330.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.006344, allocations: 129.7 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006347, allocations: 7.938 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.006351, allocations: 0 / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006354, allocations: 0 / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.006459, allocations: 133.2 kB / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00646, allocations: 0 / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.006509, allocations: 27.86 kB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006511, allocations: 0 / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.006518, allocations: 0 / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.006519, allocations: 4 kB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00652, allocations: 0 / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.00672, allocations: 211.5 kB / 330.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.00673, allocations: 15.89 kB / 330.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006741, allocations: 0 / 330.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.006791, allocations: 11.98 kB / 330.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.006827, allocations: 7.984 kB / 330.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.006832, allocations: 4 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.523e-05/0.006868, allocations: 91.2 kB / 331 MB, free: 9.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006868, allocations: 4 kB / 331 MB, free: 9.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001426/0.00701, allocations: 12 kB / 331 MB, free: 9.969 MB / 298.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 9.721e-05/0.007107, allocations: 95.25 kB / 331.1 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.007295, allocations: 87.89 kB / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.007298, allocations: 12 kB / 331.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.007374, allocations: 39.91 kB / 331.3 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.007597, allocations: 11.98 kB / 331.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.007865, allocations: 183 kB / 331.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.007903, allocations: 67.34 kB / 331.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.007932, allocations: 24.42 kB / 331.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.007933, allocations: 0 / 331.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of Templates: time 0.001692/0.009624, allocations: 1.004 MB / 332.5 MB, free: 8.398 MB / 298.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: 3.974223488010466]