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.001277/0.001277, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001379/0.001379, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.352/1.352, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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.2129/0.2129, allocations: 46.93 MB / 361.6 MB, free: 4.18 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 75.89 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3028, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002801/0.3056, allocations: 1.568 MB / 0.563 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00025/0.3059, allocations: 79.7 kB / 0.5631 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.3059, allocations: 0 / 0.5631 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.583e-05/0.306, allocations: 15.86 kB / 0.5631 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.83e-05/0.306, allocations: 3.938 kB / 0.5631 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.3062, allocations: 15.98 kB / 0.5631 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3063, allocations: 39.86 kB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.3064, allocations: 13.95 kB / 0.5632 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.3064, allocations: 11.94 kB / 0.5632 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.3065, allocations: 19.91 kB / 0.5632 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3065, allocations: 4 kB / 0.5632 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.3065, allocations: 0 / 0.5632 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.3065, allocations: 4 kB / 0.5632 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.3065, allocations: 19.88 kB / 0.5632 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.3066, allocations: 39.75 kB / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3066, allocations: 0 / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3066, allocations: 0 / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3067, allocations: 7.938 kB / 0.5633 GB, free: 2.461 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.00041/0.3071, allocations: 274.2 kB / 0.5635 GB, free: 2.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3071, allocations: 12.03 kB / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.3071, allocations: 192 / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.3071, allocations: 34.75 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.3072, allocations: 8.891 kB / 0.5636 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3074, allocations: 114.5 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-06/0.3074, allocations: 4.375 kB / 0.5637 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3074, allocations: 8.375 kB / 0.5637 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3075, allocations: 76.5 kB / 0.5638 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3076, allocations: 0 / 0.5638 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3076, allocations: 3.984 kB / 0.5638 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3076, allocations: 4 kB / 0.5638 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.3077, allocations: 19.98 kB / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.3081, allocations: 428.1 kB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3083, allocations: 42.56 kB / 0.5643 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.3084, allocations: 20.94 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3084, allocations: 3.938 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3084, allocations: 30.56 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3084, allocations: 3.938 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004686/0.3089, allocations: 109.5 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3089, allocations: 55.34 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.309, allocations: 113.8 kB / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.309, allocations: 29.7 kB / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.3091, allocations: 92.09 kB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3091, allocations: 19.77 kB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3092, allocations: 17.72 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3093, allocations: 326.8 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.3094, allocations: 12 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.3094, allocations: 43.42 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.3095, allocations: 55.36 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3095, allocations: 0 / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.3097, allocations: 93.58 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3097, allocations: 6.344 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3097, allocations: 0 / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3097, allocations: 4 kB / 0.5653 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.3098, allocations: 11.94 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3098, allocations: 4 kB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.3099, allocations: 7.984 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3099, allocations: 7.938 kB / 0.5653 GB, free: 176 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 0.0001193/0.31, allocations: 113.9 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.31, allocations: 7.953 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.3101, allocations: 12 kB / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3101, allocations: 0 / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3101, allocations: 0 / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3101, allocations: 0 / 0.5654 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.3103, allocations: 140.7 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3103, allocations: 4.375 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.3104, allocations: 11.98 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3104, allocations: 0 / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3104, allocations: 3.938 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3104, allocations: 4.375 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3104, allocations: 0 / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.3107, allocations: 183.4 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.3107, allocations: 7.984 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3107, allocations: 3.938 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.675e-05/0.3107, allocations: 0 / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.3108, allocations: 8.047 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3108, allocations: 4 kB / 0.5658 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.468e-05/0.3108, allocations: 91.22 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3108, allocations: 0 / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.3111, allocations: 11.94 kB / 0.5659 GB, free: 15.5 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.000587/0.3117, allocations: 0.7085 MB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.3119, allocations: 35.91 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3119, allocations: 4 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.44e-05/0.3119, allocations: 15.98 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3122, allocations: 8 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.3138, allocations: 1.382 MB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3142, allocations: 0.6807 MB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.3142, allocations: 11.98 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.3142, allocations: 15.44 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3142, allocations: 0 / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.3356, allocations: 1.669 MB / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.62, allocations: 10.06 kB / 0.5703 GB, free: 10.92 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 13.358541657042224]