Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.000939/0.000939, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009781/0.0009781, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.038/1.038, allocations: 177 MB / 204.8 MB, free: 5.555 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.2952/0.2952, allocations: 34.87 MB / 296.3 MB, free: 0.5547 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.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.715e-05, allocations: 4.844 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002423/0.00245, allocations: 1.6 MB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.002715, allocations: 63.8 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.002778, allocations: 4 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.002893, allocations: 15.81 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.044e-05/0.002923, allocations: 3.984 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.003058, allocations: 23.91 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003167, allocations: 39.86 kB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.003264, allocations: 4 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.003305, allocations: 15.97 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.003354, allocations: 15.92 kB / 380.5 MB, free: 308 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.00337, allocations: 4 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.003379, allocations: 4 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.003393, allocations: 0 / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.003416, allocations: 15.94 kB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.014e-05/0.003506, allocations: 27.89 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003508, allocations: 4 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003509, allocations: 3.938 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.003513, allocations: 0 / 380.6 MB, free: 248 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003476/0.00386, allocations: 372.5 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.003894, allocations: 8.031 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.003927, allocations: 4.938 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.004063, allocations: 136.4 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.004076, allocations: 8.375 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.004105, allocations: 8.375 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004229, allocations: 78.02 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.004238, allocations: 4.188 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.004247, allocations: 384 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.004254, allocations: 4.359 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.004288, allocations: 15.88 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.004669, allocations: 0.5172 MB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.004779, allocations: 50.98 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.004801, allocations: 11.69 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.004815, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.004834, allocations: 37.33 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 5.41e-07/0.004835, allocations: 0 / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.00032/0.005155, allocations: 89.88 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.005181, allocations: 51.41 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.005269, allocations: 181.8 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.005278, allocations: 25.7 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.005334, allocations: 138.8 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.787e-06/0.005342, allocations: 11.91 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.005375, allocations: 31.36 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.005479, allocations: 496.1 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.005495, allocations: 8 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.005528, allocations: 50.67 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.005851, allocations: 50.73 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.005852, allocations: 0 / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.191e-05/0.005934, allocations: 81.48 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.005945, allocations: 8 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.005951, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.005966, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.006012, allocations: 12 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.006019, allocations: 7.922 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.006038, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.006043, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.425e-05/0.006107, allocations: 164.5 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.006123, allocations: 7.938 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.006145, allocations: 12.06 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.006146, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006149, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.006152, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.299e-05/0.006245, allocations: 128.6 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006246, allocations: 3.984 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.006285, allocations: 8 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006287, allocations: 7.938 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.006295, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.006295, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006296, allocations: 0 / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.006424, allocations: 215.8 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.006432, allocations: 7.953 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006442, allocations: 3.938 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.729e-05/0.006469, allocations: 0 / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.006483, allocations: 3.984 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.006486, allocations: 4 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.006521, allocations: 131.5 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006521, allocations: 4 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.006658, allocations: 4 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * 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 6.868e-05/0.006726, allocations: 107.2 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.993e-05/0.006806, allocations: 27.61 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006807, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.006822, allocations: 19.69 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.007011, allocations: 4 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.00727, allocations: 158.3 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.007307, allocations: 59.34 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.417e-05/0.007331, allocations: 8 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.007354, allocations: 12.69 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.007355, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.001971/0.009326, allocations: 482.2 kB / 384.6 MB, free: 11.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.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: 3.257136811967939]