Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 162.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.914/0.914, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2408/0.2408, allocations: 34.86 MB / 296.6 MB, free: 0.5703 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 378.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.901e-05, allocations: 12.5 kB / 378.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009467/0.0009657, allocations: 0.5048 MB / 379.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.001204, allocations: 103.7 kB / 379.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.001233, allocations: 0 / 379.3 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.001249, allocations: 4 kB / 379.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.001461, allocations: 11.92 kB / 379.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.201e-05/0.001473, allocations: 4 kB / 379.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.001523, allocations: 7.938 kB / 379.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.001559, allocations: 4 kB / 379.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.582e-05/0.001585, allocations: 0 / 379.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.001628, allocations: 7.984 kB / 379.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.001641, allocations: 7.922 kB / 379.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.001712, allocations: 15.98 kB / 379.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.001726, allocations: 4 kB / 379.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.001742, allocations: 7.938 kB / 379.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.171e-05/0.001823, allocations: 23.91 kB / 379.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.001825, allocations: 0 / 379.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.001826, allocations: 0 / 379.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.001829, allocations: 0 / 379.4 MB, free: 1.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002496/0.002079, allocations: 344.4 kB / 379.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.002116, allocations: 12.03 kB / 379.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.00215, allocations: 1.281 kB / 379.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.002228, allocations: 116.6 kB / 379.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.002239, allocations: 384 / 379.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.002259, allocations: 384 / 379.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.002333, allocations: 42.25 kB / 379.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.002343, allocations: 192 / 379.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.002351, allocations: 384 / 379.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.002395, allocations: 384 / 379.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.887e-05/0.002474, allocations: 11.88 kB / 379.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.002637, allocations: 116.7 kB / 380.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.002847, allocations: 35.06 kB / 380.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.002873, allocations: 19.77 kB / 380.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.003108, allocations: 31.97 kB / 380.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.003138, allocations: 37.39 kB / 380.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.925e-06/0.003141, allocations: 0 / 380.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007448/0.003886, allocations: 158.1 kB / 380.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.003926, allocations: 59.28 kB / 380.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.003998, allocations: 161.9 kB / 380.6 MB, free: 468 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.00401, allocations: 25.7 kB / 380.6 MB, free: 436 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.004042, allocations: 126.9 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.004069, allocations: 23.83 kB / 380.7 MB, free: 280 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.004106, allocations: 23.38 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.004241, allocations: 496.1 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.245e-05/0.004273, allocations: 7.984 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.004292, allocations: 8 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.004344, allocations: 27.69 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004346, allocations: 0 / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.409e-05/0.00444, allocations: 57.75 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.004456, allocations: 8 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.00446, allocations: 0 / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.004475, allocations: 0 / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.004565, allocations: 19.98 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.004573, allocations: 3.938 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.004608, allocations: 7.984 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.004613, allocations: 0 / 381.4 MB, free: 15.6 MB / 362.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 6.575e-05/0.004679, allocations: 152.6 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.004696, allocations: 4 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.004826, allocations: 73.33 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.004828, allocations: 3.938 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.004832, allocations: 4.25 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.004835, allocations: 0 / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.005224, allocations: 329.4 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.005226, allocations: 3.938 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.005273, allocations: 20.02 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.005277, allocations: 4.047 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.005288, allocations: 7.922 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.00529, allocations: 0 / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005291, allocations: 0 / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.005421, allocations: 215.6 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.005429, allocations: 4 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.005443, allocations: 3.938 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.00549, allocations: 4 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.005509, allocations: 15.86 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.005513, allocations: 4 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.372e-05/0.005547, allocations: 119.2 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005547, allocations: 4 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.005719, allocations: 11.94 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0001294/0.005848, allocations: 95.25 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.005955, allocations: 39.66 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.005956, allocations: 0 / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.005979, allocations: 19.62 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.006144, allocations: 12.16 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.006408, allocations: 138 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.006442, allocations: 59.34 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.923e-05/0.006471, allocations: 7.906 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.0065, allocations: 12.5 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.006501, allocations: 0 / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Templates: time 0.002384/0.008885, allocations: 0.7138 MB / 383.4 MB, free: 13.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8842250269372016]