Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001087/0.001087, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001337/0.001337, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9209/0.9209, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.742e-05, allocations: 6.219 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002161/0.002189, allocations: 1.564 MB / 441.1 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000278/0.002467, allocations: 71.66 kB / 441.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.002541, allocations: 4 kB / 441.2 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.00265, allocations: 7.922 kB / 441.2 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.035e-05/0.002681, allocations: 7.938 kB / 441.2 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.002819, allocations: 19.92 kB / 441.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.662e-05/0.002915, allocations: 31.92 kB / 441.3 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.003014, allocations: 15.97 kB / 441.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.003055, allocations: 15.92 kB / 441.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.003103, allocations: 8 kB / 441.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.003129, allocations: 4 kB / 441.3 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.003137, allocations: 4 kB / 441.3 MB, free: 2.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.003154, allocations: 3.938 kB / 441.3 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.003178, allocations: 15.97 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.003294, allocations: 35.83 kB / 441.4 MB, free: 2.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003296, allocations: 7.938 kB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.003299, allocations: 0 / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.003303, allocations: 0 / 441.4 MB, free: 2.445 MB / 410.7 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.0003667/0.00367, allocations: 274.2 kB / 441.6 MB, free: 2.145 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.003721, allocations: 8.031 kB / 441.7 MB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.003751, allocations: 34.75 kB / 441.7 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.003777, allocations: 12.88 kB / 441.7 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.003959, allocations: 117.8 kB / 441.8 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.003968, allocations: 384 / 441.8 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.003987, allocations: 8.375 kB / 441.8 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.004128, allocations: 72.77 kB / 441.9 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004135, allocations: 4.188 kB / 441.9 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004145, allocations: 384 / 441.9 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.004151, allocations: 4.125 kB / 441.9 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.004209, allocations: 23.97 kB / 441.9 MB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.004597, allocations: 416.2 kB / 442.3 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.004755, allocations: 46.5 kB / 442.4 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.004786, allocations: 20.88 kB / 442.4 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.004802, allocations: 0 / 442.4 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.00482, allocations: 38.5 kB / 442.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.004821, allocations: 0 / 442.4 MB, free: 1.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003711/0.005193, allocations: 101.8 kB / 442.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.005223, allocations: 55.41 kB / 442.6 MB, free: 1.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.005296, allocations: 125.7 kB / 442.7 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.005306, allocations: 29.7 kB / 442.7 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.005356, allocations: 92.09 kB / 442.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.005367, allocations: 19.83 kB / 442.9 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.0054, allocations: 25.7 kB / 442.9 MB, free: 0.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.548e-05/0.005475, allocations: 314.8 kB / 443.2 MB, free: 444 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.466e-05/0.00551, allocations: 11.98 kB / 443.2 MB, free: 432 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.005548, allocations: 43.42 kB / 443.2 MB, free: 376 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.005627, allocations: 63.3 kB / 443.3 MB, free: 300 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.005628, allocations: 0 / 443.3 MB, free: 300 kB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.771e-05/0.005726, allocations: 85.56 kB / 443.4 MB, free: 208 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.005739, allocations: 8 kB / 443.4 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.005743, allocations: 0 / 443.4 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005755, allocations: 0 / 443.4 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.005802, allocations: 19.92 kB / 443.4 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.005806, allocations: 0 / 443.4 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.005828, allocations: 4 kB / 443.4 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.005834, allocations: 8.094 kB / 443.4 MB, free: 168 kB / 410.7 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 6.195e-05/0.005896, allocations: 114.4 kB / 443.5 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.005911, allocations: 7.953 kB / 443.5 MB, free: 36 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.005933, allocations: 11.98 kB / 443.6 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.005936, allocations: 8 kB / 443.6 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.00594, allocations: 0 / 443.6 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005943, allocations: 0 / 443.6 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1862/0.1921, allocations: 134 kB / 443.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1921, allocations: 0 / 443.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1922, allocations: 13.58 kB / 443.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1922, allocations: 0.5938 kB / 443.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1922, allocations: 2.375 kB / 443.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1922, allocations: 0 / 443.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1922, allocations: 6.109 kB / 443.7 MB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1924, allocations: 183.1 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.1924, allocations: 3.891 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.1924, allocations: 4.688 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.1925, allocations: 0 / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.1925, allocations: 6.797 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1925, allocations: 2.234 kB / 443.9 MB, free: 46.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.1925, allocations: 93.48 kB / 444 MB, free: 46 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1925, allocations: 0 / 444 MB, free: 46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.1927, allocations: 7.25 kB / 444 MB, free: 46 MB / 410.7 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.0002351/0.1929, allocations: 0.7034 MB / 444.7 MB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.193, allocations: 39.88 kB / 444.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.135e-06/0.193, allocations: 2.875 kB / 444.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.1931, allocations: 14.7 kB / 444.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1933, allocations: 13.41 kB / 444.8 MB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007579/0.194, allocations: 1.358 MB / 446.1 MB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.402e-05/0.1941, allocations: 73.08 kB / 446.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.048e-05/0.1941, allocations: 6.156 kB / 446.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1941, allocations: 22.97 kB / 446.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1941, allocations: 3.031 kB / 446.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.2114, allocations: 2.17 MB / 448.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/6.775, allocations: 4.219 kB / 448.4 MB, free: 43.23 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 8.768563584424555]