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.000655/0.000655, allocations: 84 kB / 21.43 MB, free: 3.129 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.002877/0.002877, allocations: 145.8 kB / 24.68 MB, free: 9.426 MB / 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.8052/0.8052, allocations: 173.4 MB / 201.2 MB, free: 9.449 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.323e-06/1.323e-06, allocations: 0 / 319.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.937e-05, allocations: 6.219 kB / 319.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001658/0.001678, allocations: 1.49 MB / 321.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006404/0.002318, allocations: 474.7 kB / 321.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.002356, allocations: 3.938 kB / 321.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.002451, allocations: 23.8 kB / 321.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.002511, allocations: 3.938 kB / 321.6 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.002656, allocations: 51.7 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.002732, allocations: 55.84 kB / 321.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.002842, allocations: 15.94 kB / 321.7 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.002951, allocations: 39.89 kB / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.003004, allocations: 27.97 kB / 321.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.003022, allocations: 4 kB / 321.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.955e-05/0.003072, allocations: 19.94 kB / 321.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.003093, allocations: 15.91 kB / 321.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.003115, allocations: 19.92 kB / 321.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.003244, allocations: 71.78 kB / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003246, allocations: 0 / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003247, allocations: 0 / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.00325, allocations: 0 / 321.9 MB, free: 3.562 MB / 282.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.0004193/0.003669, allocations: 314.1 kB / 322.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.003701, allocations: 8.922 kB / 322.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.003733, allocations: 4.938 kB / 322.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.003807, allocations: 121.7 kB / 322.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.003823, allocations: 8.312 kB / 322.4 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.003833, allocations: 4.359 kB / 322.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.003992, allocations: 86.2 kB / 322.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.003999, allocations: 192 / 322.5 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00401, allocations: 8.375 kB / 322.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.004015, allocations: 3.938 kB / 322.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.004172, allocations: 75.92 kB / 322.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.004455, allocations: 240.4 kB / 322.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.0046, allocations: 74.47 kB / 322.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.004678, allocations: 44.95 kB / 322.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.004697, allocations: 0 / 322.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.004717, allocations: 42.58 kB / 323 MB, free: 2.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.004718, allocations: 0 / 323 MB, free: 2.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003047/0.005023, allocations: 145.5 kB / 323.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.005049, allocations: 55.41 kB / 323.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.005235, allocations: 121.7 kB / 323.3 MB, free: 2.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005245, allocations: 29.7 kB / 323.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.005278, allocations: 84.14 kB / 323.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.005299, allocations: 19.8 kB / 323.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.005325, allocations: 21.7 kB / 323.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.005391, allocations: 314.8 kB / 323.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.005463, allocations: 35.95 kB / 323.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.921e-05/0.005532, allocations: 43.91 kB / 323.8 MB, free: 1.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.005674, allocations: 76.78 kB / 323.9 MB, free: 1.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005676, allocations: 4 kB / 323.9 MB, free: 1.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001652/0.005841, allocations: 113.6 kB / 324 MB, free: 1.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.005852, allocations: 8 kB / 324 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005856, allocations: 0 / 324 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.005867, allocations: 4.422 kB / 324 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.005939, allocations: 15.98 kB / 324 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.005943, allocations: 0 / 324 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.005981, allocations: 19.94 kB / 324 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.005986, allocations: 0 / 324 MB, free: 1.285 MB / 282.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.007e-05/0.006036, allocations: 121.8 kB / 324.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.006049, allocations: 11.92 kB / 324.2 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.006252, allocations: 125.7 kB / 324.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006254, allocations: 0 / 324.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.006258, allocations: 0 / 324.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00626, allocations: 0 / 324.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.006368, allocations: 133.2 kB / 324.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006369, allocations: 4 kB / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.006441, allocations: 23.92 kB / 324.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.006443, allocations: 0 / 324.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.006451, allocations: 4 kB / 324.5 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.006454, allocations: 4.016 kB / 324.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006456, allocations: 3.984 kB / 324.5 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.006663, allocations: 215.5 kB / 324.7 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.006672, allocations: 16.2 kB / 324.7 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.006682, allocations: 4 kB / 324.7 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.006733, allocations: 15.97 kB / 324.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.006766, allocations: 4 kB / 324.7 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.00677, allocations: 11.86 kB / 324.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.006799, allocations: 87.28 kB / 324.8 MB, free: 460 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006799, allocations: 0 / 324.8 MB, free: 460 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.006941, allocations: 12 kB / 324.8 MB, free: 448 kB / 282.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 8.985e-05/0.007031, allocations: 111.2 kB / 324.9 MB, free: 328 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.007214, allocations: 79.91 kB / 325 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007215, allocations: 4 kB / 325 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.007292, allocations: 47.95 kB / 325.1 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.007469, allocations: 8 kB / 325.1 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.00774, allocations: 182.5 kB / 325.3 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.007783, allocations: 75.58 kB / 325.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.007813, allocations: 8.5 kB / 325.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.007814, allocations: 0 / 325.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of Templates: time 0.001598/0.009411, allocations: 0.9957 MB / 326.3 MB, free: 14.88 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8333776565268636]