Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002423/0.002423, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002768/0.002768, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.174e-05, allocations: 2.312 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002833/0.002864, allocations: 1.531 MB / 273.8 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.00385, allocations: 0.5025 MB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.003899, allocations: 4 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.004009, allocations: 19.8 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.004079, allocations: 15.86 kB / 274.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.00425, allocations: 39.84 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.665e-05/0.004347, allocations: 55.78 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.00444, allocations: 15.98 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.004621, allocations: 35.95 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.004685, allocations: 27.91 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.004705, allocations: 8 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.004756, allocations: 16 kB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.004878, allocations: 15.92 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.00491, allocations: 15.98 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.005079, allocations: 79.59 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005082, allocations: 0 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005083, allocations: 0 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005087, allocations: 0 / 274.6 MB, free: 15.48 MB / 266.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.0006235/0.005711, allocations: 400.1 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.005751, allocations: 12.03 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.005808, allocations: 8.891 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.005926, allocations: 120.5 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.005946, allocations: 8.375 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.005959, allocations: 4.312 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.00617, allocations: 74.22 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.006177, allocations: 192 / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.00619, allocations: 4.359 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.006197, allocations: 7.938 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.006407, allocations: 55.95 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.006875, allocations: 307.7 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.007092, allocations: 70.98 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.0072, allocations: 31.8 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.007221, allocations: 0 / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.007257, allocations: 41.41 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.007257, allocations: 0 / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004278/0.007685, allocations: 121.6 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.007731, allocations: 51.41 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.007867, allocations: 177.9 kB / 276.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.007888, allocations: 25.7 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.007975, allocations: 138.8 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.008004, allocations: 19.86 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.008054, allocations: 27.36 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.0083, allocations: 0.4884 MB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.008395, allocations: 20.23 kB / 276.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.008489, allocations: 35.91 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.008678, allocations: 63.66 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00868, allocations: 0 / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002447/0.008925, allocations: 89.61 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.008938, allocations: 7.938 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.008945, allocations: 4 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.008957, allocations: 0 / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.00906, allocations: 15.98 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.009064, allocations: 4 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.009121, allocations: 15.94 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.009128, allocations: 3.938 kB / 277.1 MB, free: 12.86 MB / 266.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.0001107/0.009238, allocations: 160.6 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.009267, allocations: 3.938 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.009559, allocations: 109.8 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009561, allocations: 0 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.009564, allocations: 0 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.009567, allocations: 0 / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.00975, allocations: 152.5 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.009751, allocations: 0 / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.613e-05/0.009837, allocations: 15.94 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.009841, allocations: 4 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.009852, allocations: 7.938 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.009855, allocations: 3.984 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009856, allocations: 0 / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.01019, allocations: 243.9 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.01021, allocations: 8.078 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.01023, allocations: 12 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.0103, allocations: 4 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.01035, allocations: 7.984 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01036, allocations: 4 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.3e-05/0.01044, allocations: 135.5 kB / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01044, allocations: 0 / 277.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.01066, allocations: 8 kB / 277.9 MB, free: 11.93 MB / 266.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.0001521/0.01081, allocations: 111.2 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002714/0.01108, allocations: 67.64 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01109, allocations: 0 / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.01121, allocations: 51.59 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01147, allocations: 15.09 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.01185, allocations: 174 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.077e-05/0.01193, allocations: 79.52 kB / 278.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.478e-05/0.01197, allocations: 8 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.01201, allocations: 12.5 kB / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01201, allocations: 0 / 278.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of Templates: time 0.004039/0.01605, allocations: 0.9825 MB / 279.4 MB, free: 10.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.541269417968579]