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.001332/0.001332, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001452/0.001452, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.385/1.385, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2294/0.2294, allocations: 46.95 MB / 360.8 MB, free: 3.91 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 83.81 kB / 0.4961 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.328, allocations: 66.09 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002976/0.331, allocations: 1.548 MB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00029/0.3313, allocations: 71.73 kB / 0.5623 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.3314, allocations: 4 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.3315, allocations: 3.938 kB / 0.5623 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.3315, allocations: 7.938 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3317, allocations: 19.92 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3318, allocations: 43.83 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3319, allocations: 9.828 kB / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.332, allocations: 8 kB / 0.5624 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.332, allocations: 15.86 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.3321, allocations: 4 kB / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.3321, allocations: 0 / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.3321, allocations: 4 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.3321, allocations: 19.92 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.3323, allocations: 39.77 kB / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3323, allocations: 0 / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3323, allocations: 3.938 kB / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3323, allocations: 0 / 0.5624 GB, free: 2.219 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.0005193/0.3328, allocations: 274.2 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3328, allocations: 12.03 kB / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.3329, allocations: 34.75 kB / 0.5627 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.3329, allocations: 8.891 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.3331, allocations: 122.5 kB / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3332, allocations: 8.375 kB / 0.5629 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3332, allocations: 8.359 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3334, allocations: 68.81 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3334, allocations: 3.938 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3334, allocations: 0 / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3334, allocations: 4 kB / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.304e-05/0.3335, allocations: 23.92 kB / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.3341, allocations: 424.1 kB / 0.5634 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.3343, allocations: 42.56 kB / 0.5634 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.3343, allocations: 16.86 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.3343, allocations: 0 / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3344, allocations: 30.56 kB / 0.5635 GB, free: 1.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3344, allocations: 0 / 0.5635 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004983/0.3349, allocations: 109.6 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.3349, allocations: 55.41 kB / 0.5636 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.335, allocations: 117.8 kB / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3351, allocations: 25.7 kB / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.3351, allocations: 96.02 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.3352, allocations: 15.91 kB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.3352, allocations: 21.7 kB / 0.5639 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3354, allocations: 322.8 kB / 0.5642 GB, free: 212 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.3354, allocations: 15.92 kB / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.3355, allocations: 43.42 kB / 0.5643 GB, free: 140 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3356, allocations: 59.36 kB / 0.5643 GB, free: 68 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3356, allocations: 0 / 0.5643 GB, free: 68 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001882/0.3358, allocations: 85.94 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3358, allocations: 4 kB / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3358, allocations: 4 kB / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3358, allocations: 0 / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.3359, allocations: 15.92 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3359, allocations: 4.094 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.336, allocations: 4 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.336, allocations: 4 kB / 0.5644 GB, free: 15.94 MB / 414.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.0001051/0.3361, allocations: 121.7 kB / 0.5646 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3361, allocations: 7.953 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.3361, allocations: 12.36 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3361, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3361, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3361, allocations: 0 / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.3363, allocations: 148.7 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3363, allocations: 4 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.3364, allocations: 15.98 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3364, allocations: 3.938 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3364, allocations: 0 / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.3364, allocations: 0 / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3364, allocations: 4 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3367, allocations: 175.4 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.3367, allocations: 11.94 kB / 0.5649 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3367, allocations: 0 / 0.5649 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.3368, allocations: 4.031 kB / 0.5649 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.3368, allocations: 4.062 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.3368, allocations: 0 / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.001e-05/0.3368, allocations: 91.27 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3368, allocations: 0 / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.3371, allocations: 11.94 kB / 0.565 GB, free: 15.26 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.0005723/0.3376, allocations: 0.7046 MB / 0.5657 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.3378, allocations: 35.97 kB / 0.5657 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3378, allocations: 8.25 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.3379, allocations: 11.94 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3381, allocations: 18.23 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.3397, allocations: 1.366 MB / 0.5671 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.132e-05/0.3398, allocations: 67.34 kB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.3398, allocations: 8 kB / 0.5672 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.3399, allocations: 15.42 kB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3399, allocations: 0 / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.3705, allocations: 2.025 MB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.01, allocations: 10.97 kB / 0.5692 GB, free: 10.95 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.740068352315575]