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.001724/0.001724, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002102/0.002102, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.403/1.403, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2164/0.2164, allocations: 46.92 MB / 357.7 MB, free: 10.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.002206/0.002206, allocations: 79.89 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.113, allocations: 66.04 MB / 0.5561 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002628/0.1156, allocations: 1.57 MB / 0.5577 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.1158, allocations: 71.78 kB / 0.5577 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.1159, allocations: 0 / 0.5577 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 9.825e-05/0.116, allocations: 11.86 kB / 0.5578 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.698e-05/0.116, allocations: 7.938 kB / 0.5578 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.1161, allocations: 15.98 kB / 0.5578 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1162, allocations: 43.78 kB / 0.5578 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.138e-05/0.1163, allocations: 11.98 kB / 0.5578 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.701e-05/0.1164, allocations: 11.94 kB / 0.5578 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.1164, allocations: 15.92 kB / 0.5579 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1164, allocations: 4 kB / 0.5579 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.1164, allocations: 0 / 0.5579 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.1164, allocations: 7.938 kB / 0.5579 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.1165, allocations: 15.94 kB / 0.5579 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 9.626e-05/0.1166, allocations: 43.75 kB / 0.5579 GB, free: 3.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1166, allocations: 3.938 kB / 0.5579 GB, free: 3.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1166, allocations: 0 / 0.5579 GB, free: 3.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1166, allocations: 0 / 0.5579 GB, free: 3.688 MB / 414.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.000442/0.117, allocations: 351.3 kB / 0.5583 GB, free: 3.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1171, allocations: 12.03 kB / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.1171, allocations: 192 / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.669e-05/0.1171, allocations: 30.75 kB / 0.5583 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.1171, allocations: 12.89 kB / 0.5583 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1173, allocations: 180.3 kB / 0.5585 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1173, allocations: 4.375 kB / 0.5585 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1174, allocations: 4.375 kB / 0.5585 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1175, allocations: 72.52 kB / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1175, allocations: 0 / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1175, allocations: 4 kB / 0.5586 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1175, allocations: 4 kB / 0.5586 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.1176, allocations: 31.91 kB / 0.5586 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.1181, allocations: 445.1 kB / 0.559 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1183, allocations: 42.56 kB / 0.5591 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1184, allocations: 20.88 kB / 0.5591 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.1184, allocations: 0 / 0.5591 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1184, allocations: 34.56 kB / 0.5591 GB, free: 2.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1184, allocations: 0 / 0.5591 GB, free: 2.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004313/0.1188, allocations: 105.5 kB / 0.5592 GB, free: 2.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1189, allocations: 51.41 kB / 0.5593 GB, free: 2.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.119, allocations: 129.7 kB / 0.5594 GB, free: 1.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.119, allocations: 25.7 kB / 0.5594 GB, free: 1.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.119, allocations: 88.09 kB / 0.5595 GB, free: 1.844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.1191, allocations: 21.5 kB / 0.5595 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.1191, allocations: 21.7 kB / 0.5595 GB, free: 1.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1192, allocations: 318.8 kB / 0.5599 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.273e-05/0.1193, allocations: 19.98 kB / 0.5599 GB, free: 1.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.1193, allocations: 35.42 kB / 0.5599 GB, free: 1.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1194, allocations: 59.69 kB / 0.56 GB, free: 1.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1194, allocations: 8 kB / 0.56 GB, free: 1.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001621/0.1196, allocations: 85.55 kB / 0.5601 GB, free: 1.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1196, allocations: 8 kB / 0.5601 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1196, allocations: 0 / 0.5601 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1196, allocations: 0 / 0.5601 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.1197, allocations: 23.92 kB / 0.5601 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1197, allocations: 4.141 kB / 0.5601 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.908e-05/0.1198, allocations: 4 kB / 0.5601 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1198, allocations: 12.03 kB / 0.5601 GB, free: 1.191 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 7.738e-05/0.1198, allocations: 109.8 kB / 0.5602 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.1199, allocations: 11.94 kB / 0.5602 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.1199, allocations: 7.906 kB / 0.5602 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1199, allocations: 4 kB / 0.5602 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1199, allocations: 0 / 0.5602 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1199, allocations: 0 / 0.5602 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1201, allocations: 173.6 kB / 0.5604 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1201, allocations: 0 / 0.5604 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.1202, allocations: 19.92 kB / 0.5604 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1202, allocations: 0 / 0.5604 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1202, allocations: 4 kB / 0.5604 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1202, allocations: 0 / 0.5604 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1202, allocations: 0 / 0.5604 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1204, allocations: 175.5 kB / 0.5606 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.1205, allocations: 85.05 kB / 0.5607 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1205, allocations: 4.062 kB / 0.5607 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.1206, allocations: 4.031 kB / 0.5607 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.1206, allocations: 0 / 0.5607 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1206, allocations: 3.938 kB / 0.5607 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.1206, allocations: 99.52 kB / 0.5608 GB, free: 416 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1206, allocations: 0 / 0.5608 GB, free: 416 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1209, allocations: 8 kB / 0.5608 GB, free: 408 kB / 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.0005513/0.1214, allocations: 0.7085 MB / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1216, allocations: 39.91 kB / 0.5615 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1216, allocations: 0 / 0.5615 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.1216, allocations: 16 kB / 0.5615 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1219, allocations: 7.984 kB / 0.5615 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1232, allocations: 1.374 MB / 0.5629 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1235, allocations: 0.6846 MB / 0.5635 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.1235, allocations: 4 kB / 0.5635 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.1236, allocations: 23.42 kB / 0.5636 GB, free: 13.39 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1236, allocations: 0 / 0.5636 GB, free: 13.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.1407, allocations: 1.543 MB / 0.5651 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/7.999, allocations: 8 kB / 0.5651 GB, free: 11.93 MB / 430.1 MB " [Timeout remaining time 652] (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: 10.882283537008334]