Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000906/0.000906, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9752/0.9752, allocations: 173.3 MB / 201.1 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 267.9 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.838e-05, allocations: 6.25 kB / 267.9 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002445/0.002464, allocations: 1.543 MB / 269.5 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008518/0.003316, allocations: 494.5 kB / 270 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.003365, allocations: 4 kB / 270 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.003493, allocations: 19.81 kB / 270 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.003569, allocations: 7.875 kB / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.003762, allocations: 47.83 kB / 270 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.003863, allocations: 55.84 kB / 270.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.003976, allocations: 15.97 kB / 270.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.004124, allocations: 35.91 kB / 270.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.004186, allocations: 19.97 kB / 270.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.004206, allocations: 11.94 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.004271, allocations: 16 kB / 270.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.004292, allocations: 7.984 kB / 270.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.004326, allocations: 23.92 kB / 270.2 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.004491, allocations: 55.75 kB / 270.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004494, allocations: 8 kB / 270.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004494, allocations: 0 / 270.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.004499, allocations: 0 / 270.3 MB, free: 4.105 MB / 250.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.0005517/0.005051, allocations: 396.4 kB / 270.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.005096, allocations: 12.92 kB / 270.7 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.00514, allocations: 4.938 kB / 270.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.005242, allocations: 120.5 kB / 270.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.005259, allocations: 384 / 270.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005278, allocations: 12.3 kB / 270.8 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.005467, allocations: 78.94 kB / 270.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.005479, allocations: 192 / 270.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.005491, allocations: 384 / 270.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.005502, allocations: 7.938 kB / 270.9 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.005567, allocations: 11.98 kB / 270.9 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.005973, allocations: 303.6 kB / 271.2 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.006097, allocations: 50.98 kB / 271.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.006134, allocations: 11.69 kB / 271.3 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.006153, allocations: 0 / 271.3 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.006179, allocations: 45.36 kB / 271.3 MB, free: 2.941 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.00618, allocations: 4 kB / 271.3 MB, free: 2.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.00021/0.00639, allocations: 61.77 kB / 271.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.006422, allocations: 51.41 kB / 271.4 MB, free: 2.809 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.006516, allocations: 177.8 kB / 271.6 MB, free: 2.617 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.006531, allocations: 29.7 kB / 271.6 MB, free: 2.582 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.006589, allocations: 134.9 kB / 271.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.006618, allocations: 15.8 kB / 271.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.006662, allocations: 27.36 kB / 271.8 MB, free: 2.395 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.006806, allocations: 0.4884 MB / 272.3 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.006835, allocations: 7.984 kB / 272.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.006865, allocations: 7.938 kB / 272.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.006923, allocations: 28.06 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006924, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001049/0.007029, allocations: 65.62 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.007043, allocations: 4 kB / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007048, allocations: 0 / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.007066, allocations: 3.984 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.007161, allocations: 15.98 kB / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.007167, allocations: 0 / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.007203, allocations: 7.953 kB / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.007211, allocations: 7.922 kB / 272.4 MB, free: 1.738 MB / 250.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 7.632e-05/0.007287, allocations: 164.6 kB / 272.6 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.007314, allocations: 7.938 kB / 272.6 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.007459, allocations: 69.8 kB / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007461, allocations: 0 / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.007464, allocations: 0 / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007468, allocations: 0 / 272.7 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.007623, allocations: 136.6 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007623, allocations: 0 / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.007689, allocations: 23.92 kB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.007691, allocations: 4 kB / 272.8 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.0077, allocations: 3.938 kB / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007701, allocations: 0 / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.007703, allocations: 3.984 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.00787, allocations: 207.9 kB / 273.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.007883, allocations: 15.77 kB / 273.1 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.007901, allocations: 8 kB / 273.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.007973, allocations: 4 kB / 273.1 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.008021, allocations: 3.984 kB / 273.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.008027, allocations: 4 kB / 273.1 MB, free: 1.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.51e-05/0.008082, allocations: 131.2 kB / 273.2 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008082, allocations: 4 kB / 273.2 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.008352, allocations: 12 kB / 273.2 MB, free: 0.875 MB / 250.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.0001181/0.00847, allocations: 103.2 kB / 273.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.008603, allocations: 35.66 kB / 273.4 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008605, allocations: 0 / 273.4 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.008654, allocations: 27.61 kB / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.008941, allocations: 16 kB / 273.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.009282, allocations: 165.9 kB / 273.6 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.009325, allocations: 59.36 kB / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.009353, allocations: 3.984 kB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.009394, allocations: 12.5 kB / 273.7 MB, free: 400 kB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009395, allocations: 0 / 273.7 MB, free: 400 kB / 250.7 MB Notification: Performance of Templates: time 0.002894/0.01229, allocations: 0.9892 MB / 274.6 MB, free: 15.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7257318538613617]