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.001971/0.001971, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002128/0.002128, allocations: 158.5 kB / 24.5 MB, free: 3.871 MB / 14.72 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.439/1.439, allocations: 173.4 MB / 201.1 MB, free: 12.66 MB / 190.1 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 0.001608/0.001608, allocations: 47.91 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09167, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002758/0.09443, allocations: 1.496 MB / 373 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.09529, allocations: 480.7 kB / 373.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.09534, allocations: 4 kB / 373.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.09545, allocations: 11.88 kB / 373.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.09552, allocations: 11.86 kB / 373.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.09569, allocations: 39.92 kB / 373.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.09579, allocations: 55.83 kB / 373.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.09589, allocations: 11.98 kB / 373.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.096, allocations: 31.86 kB / 373.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.09607, allocations: 35.84 kB / 373.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.09609, allocations: 4 kB / 373.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.09615, allocations: 12 kB / 373.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.09617, allocations: 19.97 kB / 373.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.09621, allocations: 15.88 kB / 373.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.09638, allocations: 75.66 kB / 373.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09639, allocations: 0 / 373.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09639, allocations: 0 / 373.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.09639, allocations: 0 / 373.8 MB, free: 5.023 MB / 334.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.0006198/0.09701, allocations: 314.1 kB / 374.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.09705, allocations: 8.922 kB / 374.2 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.09708, allocations: 8.891 kB / 374.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.0972, allocations: 118.4 kB / 374.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.09722, allocations: 4.375 kB / 374.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.09723, allocations: 4.375 kB / 374.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.09751, allocations: 89.89 kB / 374.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.09752, allocations: 0 / 374.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.09753, allocations: 4 kB / 374.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.09754, allocations: 4 kB / 374.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.09787, allocations: 75.92 kB / 374.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.09826, allocations: 248.4 kB / 374.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.09852, allocations: 70.47 kB / 374.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.09869, allocations: 48.94 kB / 374.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.09871, allocations: 0 / 374.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.09873, allocations: 30.56 kB / 374.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.09873, allocations: 4 kB / 374.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005996/0.09933, allocations: 161.8 kB / 375 MB, free: 3.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.09937, allocations: 51.41 kB / 375.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.09946, allocations: 109.8 kB / 375.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.09948, allocations: 25.7 kB / 375.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.09953, allocations: 88.14 kB / 375.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.09957, allocations: 31.77 kB / 375.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.09961, allocations: 17.72 kB / 375.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.09974, allocations: 318.7 kB / 375.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.09991, allocations: 39.95 kB / 375.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.1001, allocations: 39.95 kB / 375.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.1004, allocations: 80.73 kB / 375.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1004, allocations: 0 / 375.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000364/0.1008, allocations: 113.6 kB / 375.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1008, allocations: 8 kB / 375.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1008, allocations: 0 / 375.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1008, allocations: 0 / 375.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1009, allocations: 19.98 kB / 375.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1009, allocations: 0 / 375.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.101, allocations: 15.97 kB / 375.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.101, allocations: 0 / 375.9 MB, free: 2.742 MB / 334.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 9.877e-05/0.1011, allocations: 125.7 kB / 376.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.1012, allocations: 7.953 kB / 376.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.1016, allocations: 125.7 kB / 376.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1016, allocations: 7.984 kB / 376.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1016, allocations: 0 / 376.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1016, allocations: 0 / 376.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1018, allocations: 121.2 kB / 376.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1018, allocations: 8.359 kB / 376.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1019, allocations: 23.97 kB / 376.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1019, allocations: 0 / 376.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1019, allocations: 0 / 376.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1019, allocations: 4.188 kB / 376.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1019, allocations: 8 kB / 376.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.1023, allocations: 223.3 kB / 376.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.1023, allocations: 19.88 kB / 376.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1024, allocations: 0 / 376.6 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1025, allocations: 15.98 kB / 376.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1025, allocations: 7.984 kB / 376.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.1025, allocations: 0 / 376.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.1026, allocations: 91.27 kB / 376.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1026, allocations: 0 / 376.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1028, allocations: 8 kB / 376.7 MB, free: 1.895 MB / 334.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.0001216/0.1029, allocations: 103.2 kB / 376.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.1033, allocations: 87.8 kB / 376.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1033, allocations: 0 / 376.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.1035, allocations: 47.95 kB / 377 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.1038, allocations: 11.94 kB / 377 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.1042, allocations: 162 kB / 377.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.1042, allocations: 71.33 kB / 377.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.1043, allocations: 4 kB / 377.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1043, allocations: 12.5 kB / 377.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1043, allocations: 0 / 377.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of Templates: time 0.003716/0.108, allocations: 0.9516 MB / 378.2 MB, free: 420 kB / 334.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/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.360476942965761]