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.001023/0.001023, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001068/0.001068, allocations: 145.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.9422/0.9422, allocations: 173.4 MB / 201.1 MB, free: 9.348 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 3.016e-06/3.016e-06, allocations: 3.938 kB / 267.9 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.778e-05/4.08e-05, allocations: 6.25 kB / 267.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003703/0.003744, allocations: 1.554 MB / 269.5 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004834, allocations: 490.5 kB / 270 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.004898, allocations: 4 kB / 270 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.005081, allocations: 11.88 kB / 270 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.0052, allocations: 19.86 kB / 270 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.005466, allocations: 39.84 kB / 270.1 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.00559, allocations: 55.78 kB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.005722, allocations: 15.98 kB / 270.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.005939, allocations: 35.95 kB / 270.2 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.006015, allocations: 27.91 kB / 270.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.006041, allocations: 4 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.006118, allocations: 15.94 kB / 270.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.006144, allocations: 11.94 kB / 270.2 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.006182, allocations: 19.97 kB / 270.2 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.006393, allocations: 63.75 kB / 270.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.006398, allocations: 0 / 270.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.006399, allocations: 0 / 270.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.006407, allocations: 0 / 270.3 MB, free: 4.125 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.0007348/0.007142, allocations: 400.4 kB / 270.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/0.007209, allocations: 8.922 kB / 270.7 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.007289, allocations: 8.938 kB / 270.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.00744, allocations: 124.4 kB / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.007464, allocations: 4.375 kB / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.007478, allocations: 8.375 kB / 270.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.007724, allocations: 70.94 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007734, allocations: 192 / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.007748, allocations: 4.375 kB / 270.9 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.007763, allocations: 7.922 kB / 270.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.273e-05/0.007825, allocations: 19.94 kB / 270.9 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.008361, allocations: 287.7 kB / 271.2 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.008496, allocations: 51.08 kB / 271.3 MB, free: 3.035 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.008529, allocations: 15.62 kB / 271.3 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.008545, allocations: 4.125 kB / 271.3 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.008575, allocations: 41.39 kB / 271.3 MB, free: 2.961 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.008576, allocations: 0 / 271.3 MB, free: 2.961 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002123/0.008788, allocations: 61.64 kB / 271.4 MB, free: 2.895 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.008828, allocations: 59.39 kB / 271.4 MB, free: 2.824 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.00892, allocations: 169.9 kB / 271.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.008935, allocations: 25.7 kB / 271.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.008993, allocations: 138.8 kB / 271.8 MB, free: 2.469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.009024, allocations: 23.8 kB / 271.8 MB, free: 2.445 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.009059, allocations: 23.36 kB / 271.8 MB, free: 2.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.009215, allocations: 496.1 kB / 272.3 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.009245, allocations: 11.98 kB / 272.3 MB, free: 1.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.009263, allocations: 4 kB / 272.3 MB, free: 1.902 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.009318, allocations: 28.06 kB / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.009321, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.174e-05/0.009413, allocations: 61.62 kB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.009429, allocations: 4 kB / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.009436, allocations: 3.938 kB / 272.4 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.009451, allocations: 4 kB / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.009551, allocations: 15.92 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.009557, allocations: 0 / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.009589, allocations: 19.94 kB / 272.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.009596, allocations: 4 kB / 272.5 MB, free: 1.754 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 8.163e-05/0.009678, allocations: 152.6 kB / 272.6 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.009697, allocations: 7.938 kB / 272.6 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.009855, allocations: 77.77 kB / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009857, allocations: 0 / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.009863, allocations: 4 kB / 272.7 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.009867, allocations: 0 / 272.7 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.01, allocations: 132.6 kB / 272.8 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01001, allocations: 3.984 kB / 272.8 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.01007, allocations: 23.88 kB / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01007, allocations: 0 / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.01008, allocations: 4 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01008, allocations: 3.984 kB / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01009, allocations: 0 / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.01025, allocations: 211.9 kB / 273.1 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.01027, allocations: 15.83 kB / 273.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.01028, allocations: 0 / 273.1 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.01032, allocations: 4 kB / 273.1 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.01037, allocations: 7.984 kB / 273.1 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.01037, allocations: 8 kB / 273.1 MB, free: 1.035 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.236e-05/0.01042, allocations: 131.1 kB / 273.2 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01042, allocations: 4 kB / 273.2 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.01057, allocations: 12 kB / 273.2 MB, free: 0.8906 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.0001309/0.0107, allocations: 99.23 kB / 273.3 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01081, allocations: 27.69 kB / 273.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01081, allocations: 0 / 273.4 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.01084, allocations: 39.61 kB / 273.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.01104, allocations: 4.188 kB / 273.4 MB, free: 0.707 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.01139, allocations: 165.9 kB / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.01143, allocations: 59.36 kB / 273.6 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.401e-05/0.01145, allocations: 7.922 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.01149, allocations: 16.5 kB / 273.7 MB, free: 420 kB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01149, allocations: 4 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of Templates: time 0.003151/0.01464, allocations: 1.085 MB / 274.7 MB, free: 15.33 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.7015572357922792]