Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.0008449/0.0008449, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008488/0.0008488, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.7918/0.7918, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1252/0.1252, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.81e-07/9.81e-07, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.366e-05, allocations: 5.938 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001596/0.00161, allocations: 1.551 MB / 409.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.001776, allocations: 51.81 kB / 409.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.001823, allocations: 7.938 kB / 409.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 8.291e-05/0.001906, allocations: 7.938 kB / 409.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.601e-05/0.001932, allocations: 7.922 kB / 409.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.046e-05/0.002022, allocations: 23.91 kB / 409.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.002102, allocations: 35.86 kB / 409.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.002173, allocations: 8 kB / 409.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.002204, allocations: 15.98 kB / 409.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.837e-05/0.002242, allocations: 19.91 kB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.002259, allocations: 4 kB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.002268, allocations: 4 kB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.002282, allocations: 0 / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.002301, allocations: 15.92 kB / 409.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.002382, allocations: 31.89 kB / 409.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002384, allocations: 0 / 409.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.002385, allocations: 0 / 409.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.002388, allocations: 0 / 409.9 MB, free: 11.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002808/0.002669, allocations: 282.2 kB / 410.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.002697, allocations: 8.031 kB / 410.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.002722, allocations: 8.938 kB / 410.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.00284, allocations: 121.7 kB / 410.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.002847, allocations: 384 / 410.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.002865, allocations: 8.375 kB / 410.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.002964, allocations: 68.81 kB / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.00297, allocations: 4.125 kB / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.002978, allocations: 384 / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.002982, allocations: 4.375 kB / 410.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/0.003033, allocations: 31.86 kB / 410.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.00332, allocations: 388.8 kB / 410.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.003425, allocations: 46.5 kB / 410.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.003451, allocations: 16.94 kB / 410.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.003459, allocations: 0 / 410.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.003474, allocations: 38.5 kB / 410.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.003474, allocations: 0 / 410.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002794/0.003754, allocations: 113.5 kB / 411 MB, free: 9.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.003777, allocations: 51.41 kB / 411 MB, free: 9.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.003833, allocations: 117.8 kB / 411.2 MB, free: 9.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.003842, allocations: 25.7 kB / 411.2 MB, free: 9.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.00388, allocations: 96.03 kB / 411.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.003888, allocations: 7.906 kB / 411.3 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.003914, allocations: 25.7 kB / 411.3 MB, free: 9.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.408e-05/0.003978, allocations: 314.8 kB / 411.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.004004, allocations: 19.98 kB / 411.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.004037, allocations: 39.42 kB / 411.7 MB, free: 9.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.004099, allocations: 55.36 kB / 411.7 MB, free: 9.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004101, allocations: 8 kB / 411.7 MB, free: 9.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.417e-05/0.004185, allocations: 89.44 kB / 411.8 MB, free: 9.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.004195, allocations: 10.75 kB / 411.8 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004199, allocations: 4 kB / 411.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.004208, allocations: 0 / 411.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.393e-05/0.004242, allocations: 15.98 kB / 411.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.004245, allocations: 0 / 411.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.004264, allocations: 11.94 kB / 411.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.004269, allocations: 4 kB / 411.9 MB, free: 9.031 MB / 346.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 4.745e-05/0.004316, allocations: 105.8 kB / 412 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.004331, allocations: 19.83 kB / 412 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.004347, allocations: 4.375 kB / 412 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.00435, allocations: 4 kB / 412 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004354, allocations: 7.984 kB / 412 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004356, allocations: 0 / 412 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.131e-05/0.004437, allocations: 117.2 kB / 412.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004438, allocations: 0 / 412.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.004474, allocations: 8 kB / 412.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.004476, allocations: 3.938 kB / 412.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.004481, allocations: 0 / 412.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.004483, allocations: 4 kB / 412.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004484, allocations: 0 / 412.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.00462, allocations: 175.5 kB / 412.3 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.00463, allocations: 11.89 kB / 412.3 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.00464, allocations: 4 kB / 412.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.004669, allocations: 4.031 kB / 412.3 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.00469, allocations: 7.922 kB / 412.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.004691, allocations: 0 / 412.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.669e-05/0.004718, allocations: 91.27 kB / 412.4 MB, free: 8.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004718, allocations: 4 kB / 412.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.004853, allocations: 4 kB / 412.4 MB, free: 8.406 MB / 346.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 5.986e-05/0.004912, allocations: 95.31 kB / 412.5 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.004997, allocations: 36.34 kB / 412.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.004999, allocations: 4 kB / 412.6 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/0.005022, allocations: 15.98 kB / 412.6 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.005189, allocations: 12.17 kB / 412.6 MB, free: 8.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.005469, allocations: 182.2 kB / 412.8 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.005508, allocations: 67.53 kB / 412.8 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.005528, allocations: 16.5 kB / 412.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.005528, allocations: 0 / 412.9 MB, free: 7.922 MB / 346.7 MB Notification: Performance of Templates: time 0.001557/0.007085, allocations: 0.8108 MB / 413.7 MB, free: 7.113 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.28786232881248]