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.00137/0.00137, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001443/0.001443, allocations: 214.7 kB / 24.51 MB, free: 3.918 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2503/0.2503, allocations: 46.96 MB / 361.7 MB, free: 4.039 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003336/0.003336, allocations: 63.89 kB / 0.4969 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3436, allocations: 66.04 MB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002832/0.3465, allocations: 1.544 MB / 0.5629 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002492/0.3467, allocations: 67.73 kB / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.3468, allocations: 0 / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.3469, allocations: 15.92 kB / 0.5629 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.3469, allocations: 11.92 kB / 0.5629 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.3471, allocations: 19.92 kB / 0.563 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3472, allocations: 39.8 kB / 0.563 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3473, allocations: 9.812 kB / 0.563 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.3473, allocations: 12 kB / 0.563 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.3473, allocations: 19.86 kB / 0.563 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3474, allocations: 0 / 0.563 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.3474, allocations: 4 kB / 0.563 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.3474, allocations: 3.984 kB / 0.5631 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.3474, allocations: 15.88 kB / 0.5631 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3475, allocations: 43.83 kB / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3475, allocations: 0 / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3475, allocations: 0 / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3475, allocations: 0 / 0.5631 GB, free: 2.434 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.0004471/0.348, allocations: 282.2 kB / 0.5634 GB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.348, allocations: 12.03 kB / 0.5634 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.204e-05/0.348, allocations: 192 / 0.5634 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.3481, allocations: 30.75 kB / 0.5634 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.3481, allocations: 12.89 kB / 0.5634 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3483, allocations: 122.5 kB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.3483, allocations: 384 / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3483, allocations: 4.375 kB / 0.5636 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3485, allocations: 76.5 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3485, allocations: 0 / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3485, allocations: 7.938 kB / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3485, allocations: 0 / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.3486, allocations: 19.98 kB / 0.5637 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.3492, allocations: 420.2 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3494, allocations: 42.56 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.3495, allocations: 16.94 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.3495, allocations: 0 / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3495, allocations: 42.5 kB / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3495, allocations: 0 / 0.5641 GB, free: 1.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004562/0.35, allocations: 101.8 kB / 0.5642 GB, free: 1.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.35, allocations: 55.41 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.3501, allocations: 125.7 kB / 0.5644 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3501, allocations: 25.7 kB / 0.5644 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.3502, allocations: 92.08 kB / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.3502, allocations: 19.83 kB / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.3503, allocations: 17.72 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3504, allocations: 326.8 kB / 0.5649 GB, free: 424 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.3505, allocations: 15.98 kB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.3505, allocations: 35.44 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3507, allocations: 71.38 kB / 0.565 GB, free: 276 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3507, allocations: 0 / 0.565 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.3508, allocations: 81.56 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3508, allocations: 8 kB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3508, allocations: 0 / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3509, allocations: 0 / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.3509, allocations: 15.94 kB / 0.5651 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.3509, allocations: 8.078 kB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.351, allocations: 8 kB / 0.5651 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.351, allocations: 3.938 kB / 0.5651 GB, free: 144 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.086e-05/0.3511, allocations: 113.8 kB / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.3511, allocations: 7.953 kB / 0.5652 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.3511, allocations: 4 kB / 0.5652 GB, free: 0 / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3511, allocations: 0 / 0.5652 GB, free: 0 / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3511, allocations: 0 / 0.5652 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.3512, allocations: 4.047 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.3513, allocations: 144.6 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3513, allocations: 0 / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.671e-05/0.3514, allocations: 12 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3514, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3514, allocations: 7.984 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3514, allocations: 0 / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3514, allocations: 4 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3517, allocations: 179.4 kB / 0.5656 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.3517, allocations: 3.953 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3517, allocations: 0 / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.3518, allocations: 8.016 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.3518, allocations: 4.062 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3518, allocations: 4 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.093e-05/0.3519, allocations: 99.52 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3519, allocations: 0 / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3521, allocations: 8 kB / 0.5657 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 0.0005449/0.3527, allocations: 0.7046 MB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3528, allocations: 35.92 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3528, allocations: 4.25 kB / 0.5664 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.3529, allocations: 15.98 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3531, allocations: 12.31 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3547, allocations: 1.381 MB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.023e-05/0.3547, allocations: 71.33 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.336e-05/0.3548, allocations: 4 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.3548, allocations: 19.42 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3548, allocations: 0 / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.3862, allocations: 1.7 MB / 0.5695 GB, free: 11.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 11.23 kB / 0.5696 GB, free: 11.52 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: 15.034220288041979]