Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001362/0.001362, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.001793/0.001793, allocations: 202.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 55.88 kB / 348.4 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3667, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002858/0.3695, allocations: 1.506 MB / 399.1 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.3705, allocations: 0.5526 MB / 399.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.3705, allocations: 5.156 kB / 399.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3707, allocations: 12.7 kB / 399.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.3707, allocations: 9.688 kB / 399.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.3709, allocations: 42.3 kB / 399.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.371, allocations: 58.3 kB / 399.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3711, allocations: 11.5 kB / 399.8 MB, free: 8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3713, allocations: 31 kB / 399.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.3713, allocations: 34.55 kB / 399.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3714, allocations: 5.406 kB / 399.8 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.3714, allocations: 17.5 kB / 399.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.3714, allocations: 12.27 kB / 399.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.3715, allocations: 31.14 kB / 399.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3717, allocations: 69.05 kB / 400 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3717, allocations: 0 / 400 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3717, allocations: 0 / 400 MB, free: 7.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.3717, allocations: 0 / 400 MB, free: 7.902 MB / 318.1 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.0006345/0.3723, allocations: 308.5 kB / 400.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3724, allocations: 13.67 kB / 400.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3724, allocations: 8.172 kB / 400.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3725, allocations: 123.8 kB / 400.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3725, allocations: 10.09 kB / 400.4 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3725, allocations: 3.031 kB / 400.4 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.3728, allocations: 94.23 kB / 400.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3729, allocations: 0.9688 kB / 400.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3729, allocations: 0 / 400.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3729, allocations: 1.766 kB / 400.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.3732, allocations: 81.28 kB / 400.6 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.3736, allocations: 283.3 kB / 400.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.3739, allocations: 73.31 kB / 400.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3741, allocations: 43.58 kB / 401 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3741, allocations: 1.469 kB / 401 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3741, allocations: 35.45 kB / 401 MB, free: 7.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3741, allocations: 1.469 kB / 401 MB, free: 7.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005745/0.3747, allocations: 144 kB / 401.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.3747, allocations: 51.41 kB / 401.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.3748, allocations: 116.7 kB / 401.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3748, allocations: 30.86 kB / 401.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3749, allocations: 95.84 kB / 401.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.3749, allocations: 12.05 kB / 401.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.3749, allocations: 18.55 kB / 401.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.375, allocations: 322.6 kB / 401.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3751, allocations: 33 kB / 401.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.3753, allocations: 46.69 kB / 401.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3756, allocations: 77.33 kB / 402 MB, free: 6.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3756, allocations: 0 / 402 MB, free: 6.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003293/0.3759, allocations: 117.9 kB / 402.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3759, allocations: 9.531 kB / 402.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3759, allocations: 0 / 402.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3759, allocations: 1.984 kB / 402.1 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3761, allocations: 21.78 kB / 402.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3761, allocations: 1.797 kB / 402.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.3762, allocations: 16.27 kB / 402.1 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.3762, allocations: 1.406 kB / 402.1 MB, free: 6.227 MB / 318.1 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.93e-05/0.3762, allocations: 121 kB / 402.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3763, allocations: 7.562 kB / 402.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.3767, allocations: 126.4 kB / 402.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3767, allocations: 4.797 kB / 402.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3767, allocations: 1.5 kB / 402.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3767, allocations: 4.516 kB / 402.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3768, allocations: 161.1 kB / 402.5 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3768, allocations: 3.938 kB / 402.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.377, allocations: 24.52 kB / 402.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.377, allocations: 1.312 kB / 402.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.377, allocations: 0.5156 kB / 402.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.377, allocations: 1.562 kB / 402.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.377, allocations: 0.7031 kB / 402.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3774, allocations: 219.8 kB / 402.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.3774, allocations: 3.422 kB / 402.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3774, allocations: 4.609 kB / 402.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3775, allocations: 11.91 kB / 402.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.3775, allocations: 6.422 kB / 402.8 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.3775, allocations: 5.312 kB / 402.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.3776, allocations: 92.75 kB / 402.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3776, allocations: 0 / 402.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3778, allocations: 21.08 kB / 402.9 MB, free: 5.594 MB / 318.1 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.0001228/0.3779, allocations: 94.48 kB / 403 MB, free: 5.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.3783, allocations: 87.45 kB / 403.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3783, allocations: 0 / 403.1 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3785, allocations: 60.3 kB / 403.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3788, allocations: 12.2 kB / 403.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.3792, allocations: 203.6 kB / 403.4 MB, free: 5.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3793, allocations: 0.6874 MB / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.3794, allocations: 10.91 kB / 404.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3794, allocations: 0 / 404.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of Templates: time 0.003055/0.3824, allocations: 0.9556 MB / 405 MB, free: 4.504 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.529454380040988]