Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.007894/0.007894, allocations: 107.2 kB / 21.98 MB, free: 5.215 MB / 14.72 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.001759/0.001759, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 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.425/1.425, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2264/0.2264, allocations: 46.94 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 75.88 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3074, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002903/0.3103, allocations: 1.571 MB / 0.5643 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.3106, allocations: 79.77 kB / 0.5643 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.3107, allocations: 3.938 kB / 0.5643 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3108, allocations: 3.938 kB / 0.5643 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.3108, allocations: 3.938 kB / 0.5643 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.311, allocations: 19.97 kB / 0.5644 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3111, allocations: 39.86 kB / 0.5644 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3112, allocations: 11.94 kB / 0.5644 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.3113, allocations: 11.92 kB / 0.5644 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.3113, allocations: 15.92 kB / 0.5644 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3114, allocations: 8 kB / 0.5644 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.3114, allocations: 0 / 0.5644 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.3114, allocations: 11.98 kB / 0.5645 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.3114, allocations: 15.88 kB / 0.5645 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3115, allocations: 38.5 kB / 0.5645 GB, free: 2.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3116, allocations: 0 / 0.5645 GB, free: 2.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3116, allocations: 0 / 0.5645 GB, free: 2.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3116, allocations: 0 / 0.5645 GB, free: 2.398 MB / 398.1 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.0004791/0.312, allocations: 277.9 kB / 0.5648 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3121, allocations: 12.03 kB / 0.5648 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.3121, allocations: 8.891 kB / 0.5648 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.3123, allocations: 118.5 kB / 0.5649 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3124, allocations: 8.297 kB / 0.5649 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3124, allocations: 12.31 kB / 0.5649 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3126, allocations: 64.83 kB / 0.565 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3126, allocations: 8.172 kB / 0.565 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3126, allocations: 7.938 kB / 0.565 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3126, allocations: 0 / 0.565 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.3127, allocations: 27.91 kB / 0.565 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.3132, allocations: 420.2 kB / 0.5654 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3134, allocations: 50.5 kB / 0.5655 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.3135, allocations: 12.86 kB / 0.5655 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3135, allocations: 0 / 0.5655 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3135, allocations: 30.56 kB / 0.5655 GB, free: 1.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3135, allocations: 0 / 0.5655 GB, free: 1.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005047/0.314, allocations: 117.6 kB / 0.5656 GB, free: 1.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.314, allocations: 51.41 kB / 0.5657 GB, free: 1.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3141, allocations: 109.8 kB / 0.5658 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.3142, allocations: 29.7 kB / 0.5658 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.3142, allocations: 96.08 kB / 0.5659 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.3142, allocations: 11.84 kB / 0.5659 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3143, allocations: 25.7 kB / 0.5659 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3144, allocations: 318.8 kB / 0.5662 GB, free: 436 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.318e-05/0.3145, allocations: 19.98 kB / 0.5663 GB, free: 416 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.3145, allocations: 43.36 kB / 0.5663 GB, free: 360 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3146, allocations: 59.36 kB / 0.5664 GB, free: 288 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3146, allocations: 0 / 0.5664 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001886/0.3148, allocations: 89.5 kB / 0.5664 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3149, allocations: 10.5 kB / 0.5665 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3149, allocations: 0 / 0.5665 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3149, allocations: 0 / 0.5665 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.3149, allocations: 15.98 kB / 0.5665 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3149, allocations: 0 / 0.5665 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.315, allocations: 4.094 kB / 0.5665 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.315, allocations: 4.375 kB / 0.5665 GB, free: 160 kB / 398.1 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 9.301e-05/0.3151, allocations: 117.8 kB / 0.5666 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.3151, allocations: 7.953 kB / 0.5666 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.3151, allocations: 11.98 kB / 0.5666 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3151, allocations: 4.047 kB / 0.5666 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3152, allocations: 7.938 kB / 0.5666 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3152, allocations: 384 / 0.5666 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3153, allocations: 144.7 kB / 0.5668 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3153, allocations: 0 / 0.5668 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.3154, allocations: 12 kB / 0.5668 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3154, allocations: 0 / 0.5668 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3154, allocations: 0 / 0.5668 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3154, allocations: 4 kB / 0.5668 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3154, allocations: 3.984 kB / 0.5668 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3157, allocations: 175.5 kB / 0.5669 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.3157, allocations: 7.984 kB / 0.567 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3157, allocations: 4.062 kB / 0.567 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.3158, allocations: 7.984 kB / 0.567 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.3158, allocations: 0 / 0.567 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3158, allocations: 3.938 kB / 0.567 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.37e-05/0.3159, allocations: 91.27 kB / 0.5671 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3159, allocations: 0 / 0.5671 GB, free: 15.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3161, allocations: 12 kB / 0.5671 GB, free: 15.47 MB / 414.1 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 9.817e-05/0.3162, allocations: 91.19 kB / 0.5672 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.3163, allocations: 47.91 kB / 0.5672 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3163, allocations: 0 / 0.5672 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.3164, allocations: 15.94 kB / 0.5672 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3166, allocations: 11.98 kB / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.317, allocations: 179.7 kB / 0.5674 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3173, allocations: 0.6886 MB / 0.5681 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.3174, allocations: 11.44 kB / 0.5681 GB, free: 14.37 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3174, allocations: 0 / 0.5681 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Templates: time 0.002341/0.3197, allocations: 0.7554 MB / 0.5688 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.189814731944352]