Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00186/0.00186, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002221/0.002221, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2553/0.2553, allocations: 46.95 MB / 360.9 MB, free: 4.047 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+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.89 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3241, allocations: 66.04 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002933/0.327, allocations: 1.556 MB / 0.5621 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002516/0.3272, allocations: 67.73 kB / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.3273, allocations: 8 kB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.3274, allocations: 7.875 kB / 0.5622 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.603e-05/0.3275, allocations: 7.922 kB / 0.5622 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.3276, allocations: 15.98 kB / 0.5622 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.3277, allocations: 39.91 kB / 0.5622 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3279, allocations: 5.828 kB / 0.5622 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.3279, allocations: 11.94 kB / 0.5623 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.328, allocations: 15.92 kB / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.328, allocations: 4 kB / 0.5623 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.328, allocations: 0 / 0.5623 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.328, allocations: 15.92 kB / 0.5623 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.328, allocations: 15.92 kB / 0.5623 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3282, allocations: 39.72 kB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3282, allocations: 0 / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3282, allocations: 0 / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3282, allocations: 0 / 0.5623 GB, free: 2.445 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.0004724/0.3287, allocations: 278.2 kB / 0.5626 GB, free: 2.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3287, allocations: 12.03 kB / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3287, allocations: 30.75 kB / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.3288, allocations: 8.891 kB / 0.5627 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.329, allocations: 118.5 kB / 0.5628 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.329, allocations: 4.375 kB / 0.5628 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.329, allocations: 8.375 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3292, allocations: 68.75 kB / 0.5628 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3292, allocations: 3.938 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3292, allocations: 4 kB / 0.5629 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.3292, allocations: 4 kB / 0.5629 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.3293, allocations: 23.92 kB / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.3299, allocations: 420.2 kB / 0.5633 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3301, allocations: 38.56 kB / 0.5633 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.3301, allocations: 20.8 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3301, allocations: 0 / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.3302, allocations: 34.59 kB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3302, allocations: 0 / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000486/0.3307, allocations: 113.6 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.3307, allocations: 55.41 kB / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3308, allocations: 117.8 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3308, allocations: 25.7 kB / 0.5637 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.3309, allocations: 96.02 kB / 0.5638 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3309, allocations: 19.89 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.331, allocations: 21.7 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3311, allocations: 318.8 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.3312, allocations: 19.92 kB / 0.5641 GB, free: 424 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.3313, allocations: 39.42 kB / 0.5642 GB, free: 372 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3314, allocations: 63.36 kB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3314, allocations: 0 / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001651/0.3315, allocations: 85.56 kB / 0.5643 GB, free: 204 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3316, allocations: 4 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3316, allocations: 4 kB / 0.5643 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3316, allocations: 0 / 0.5643 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.3316, allocations: 20.02 kB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3317, allocations: 4.156 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.3317, allocations: 0 / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3317, allocations: 8 kB / 0.5643 GB, free: 164 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.823e-05/0.3318, allocations: 117.8 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.3318, allocations: 7.953 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.3319, allocations: 11.98 kB / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3319, allocations: 0 / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3319, allocations: 0 / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.3319, allocations: 0 / 0.5645 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.3321, allocations: 140.7 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3321, allocations: 4 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.3322, allocations: 15.92 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3322, allocations: 0 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3322, allocations: 384 / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3322, allocations: 3.984 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3322, allocations: 4 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.3324, allocations: 171.5 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.3325, allocations: 11.88 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3325, allocations: 0 / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.3325, allocations: 12.09 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.3325, allocations: 0 / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3325, allocations: 0 / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.678e-05/0.3326, allocations: 91.27 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.3329, allocations: 11.94 kB / 0.5649 GB, free: 15.49 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 0.0005803/0.3334, allocations: 0.7049 MB / 0.5656 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.3336, allocations: 52.12 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3336, allocations: 3.938 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.3336, allocations: 8 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.3339, allocations: 11.98 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.3354, allocations: 1.377 MB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.209e-05/0.3355, allocations: 73.91 kB / 0.5671 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.534e-05/0.3356, allocations: 7.984 kB / 0.5671 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3356, allocations: 11.44 kB / 0.5671 GB, free: 13.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3356, allocations: 4 kB / 0.5671 GB, free: 13.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3647, allocations: 2.059 MB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.41, allocations: 9.234 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 14.283586087985896]