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.001601/0.001601, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001611/0.001611, allocations: 153.4 kB / 24.26 MB, free: 184 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 1.531/1.531, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] 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 2.605e-06/2.605e-06, allocations: 0 / 267.3 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.145e-05/4.405e-05, allocations: 6.25 kB / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.00361/0.003654, allocations: 1.5 MB / 268.8 MB, free: 5.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004791, allocations: 490.4 kB / 269.3 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.004858, allocations: 4 kB / 269.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.005002, allocations: 23.81 kB / 269.3 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.00509, allocations: 7.875 kB / 269.3 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.00532, allocations: 39.89 kB / 269.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.005439, allocations: 55.84 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.005566, allocations: 19.88 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.00574, allocations: 39.89 kB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.005822, allocations: 23.91 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.005847, allocations: 8 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.005915, allocations: 12 kB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.005943, allocations: 15.94 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.005985, allocations: 19.97 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.006207, allocations: 75.72 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.006211, allocations: 0 / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006212, allocations: 0 / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.006218, allocations: 4 kB / 269.6 MB, free: 4.43 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.0007416/0.006959, allocations: 306.1 kB / 269.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.007006, allocations: 12.92 kB / 269.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.007064, allocations: 8.938 kB / 269.9 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.007213, allocations: 113.8 kB / 270 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.007235, allocations: 12.31 kB / 270 MB, free: 3.934 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.00725, allocations: 4.312 kB / 270 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.007573, allocations: 82.2 kB / 270.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.007582, allocations: 192 / 270.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.007595, allocations: 4.375 kB / 270.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.007604, allocations: 7.922 kB / 270.1 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.007956, allocations: 83.91 kB / 270.2 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.008489, allocations: 244.4 kB / 270.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.008786, allocations: 74.47 kB / 270.5 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.00896, allocations: 40.94 kB / 270.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.008982, allocations: 0 / 270.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.00903, allocations: 46.59 kB / 270.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.009031, allocations: 0 / 270.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006497/0.009681, allocations: 149.5 kB / 270.8 MB, free: 3.148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.009737, allocations: 51.41 kB / 270.8 MB, free: 3.086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.009856, allocations: 117.8 kB / 270.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.009878, allocations: 25.7 kB / 270.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.009953, allocations: 92.14 kB / 271 MB, free: 2.836 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.009985, allocations: 19.78 kB / 271.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.01004, allocations: 17.72 kB / 271.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.01024, allocations: 322.8 kB / 271.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.01039, allocations: 31.97 kB / 271.4 MB, free: 2.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.01055, allocations: 43.89 kB / 271.5 MB, free: 2.395 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.01084, allocations: 76.8 kB / 271.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01084, allocations: 0 / 271.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003819/0.01122, allocations: 117.5 kB / 271.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.01125, allocations: 4 kB / 271.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.01125, allocations: 0 / 271.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.01128, allocations: 8 kB / 271.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.01143, allocations: 16.42 kB / 271.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.01143, allocations: 0 / 271.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.01153, allocations: 19.92 kB / 271.7 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.01154, allocations: 8 kB / 271.7 MB, free: 2.141 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 0.0001324/0.01168, allocations: 113.8 kB / 271.8 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.01172, allocations: 11.94 kB / 271.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.0122, allocations: 133.7 kB / 272 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.0122, allocations: 4 kB / 272 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01221, allocations: 0 / 272 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01221, allocations: 0 / 272 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01242, allocations: 121.3 kB / 272.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01242, allocations: 0 / 272.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.01255, allocations: 27.91 kB / 272.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01255, allocations: 0 / 272.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01256, allocations: 4 kB / 272.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01256, allocations: 7.938 kB / 272.1 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01257, allocations: 0 / 272.1 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.01302, allocations: 219.5 kB / 272.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.01304, allocations: 7.891 kB / 272.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.01306, allocations: 4 kB / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.01317, allocations: 11.98 kB / 272.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.01323, allocations: 11.98 kB / 272.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.01323, allocations: 0 / 272.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.0133, allocations: 91.27 kB / 272.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0133, allocations: 0 / 272.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.01355, allocations: 15.94 kB / 272.5 MB, free: 1.305 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.0001668/0.01371, allocations: 106.8 kB / 272.6 MB, free: 1.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.01409, allocations: 83.92 kB / 272.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01409, allocations: 0 / 272.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.01427, allocations: 51.89 kB / 272.7 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.01458, allocations: 4 kB / 272.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.01502, allocations: 172.2 kB / 272.9 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.293e-05/0.01511, allocations: 71.34 kB / 273 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.463e-05/0.01514, allocations: 4 kB / 273 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.01519, allocations: 16.48 kB / 273 MB, free: 0.75 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01519, allocations: 0 / 273 MB, free: 0.75 MB / 250.7 MB Notification: Performance of Templates: time 0.004082/0.01928, allocations: 0.979 MB / 274 MB, free: 15.78 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=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: 4.253693175967783]