Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001451/0.001451, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.0017/0.0017, allocations: 216.5 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.239/0.239, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 75.89 kB / 467.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1384, allocations: 61.04 MB / 0.5161 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003937/0.1424, allocations: 1.562 MB / 0.5177 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.1426, allocations: 55.8 kB / 0.5177 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.1427, allocations: 4 kB / 0.5177 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1429, allocations: 3.938 kB / 0.5177 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/0.1429, allocations: 3.938 kB / 0.5177 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.1431, allocations: 19.97 kB / 0.5177 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.1432, allocations: 43.84 kB / 0.5178 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1433, allocations: 12 kB / 0.5178 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.1433, allocations: 15.92 kB / 0.5178 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.1434, allocations: 11.88 kB / 0.5178 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1434, allocations: 4 kB / 0.5178 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1434, allocations: 0 / 0.5178 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.1435, allocations: 11.98 kB / 0.5178 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.1435, allocations: 11.94 kB / 0.5179 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.1436, allocations: 31.83 kB / 0.5179 GB, free: 5.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1436, allocations: 0 / 0.5179 GB, free: 5.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1436, allocations: 0 / 0.5179 GB, free: 5.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.1436, allocations: 0 / 0.5179 GB, free: 5.391 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.0005961/0.1442, allocations: 286.2 kB / 0.5182 GB, free: 5.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1443, allocations: 8.031 kB / 0.5182 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.1443, allocations: 38.69 kB / 0.5182 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1443, allocations: 12.88 kB / 0.5182 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1446, allocations: 118.5 kB / 0.5183 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1446, allocations: 4.375 kB / 0.5183 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1447, allocations: 4.375 kB / 0.5183 GB, free: 4.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1448, allocations: 68.81 kB / 0.5184 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1448, allocations: 7.875 kB / 0.5184 GB, free: 4.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1449, allocations: 8 kB / 0.5184 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1449, allocations: 0 / 0.5184 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.1449, allocations: 23.97 kB / 0.5184 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.1455, allocations: 408.3 kB / 0.5188 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1456, allocations: 42.55 kB / 0.5189 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.1457, allocations: 16.86 kB / 0.5189 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.1457, allocations: 0 / 0.5189 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1457, allocations: 38.56 kB / 0.5189 GB, free: 4.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1457, allocations: 3.938 kB / 0.5189 GB, free: 4.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004657/0.1462, allocations: 109.5 kB / 0.519 GB, free: 4.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1463, allocations: 51.41 kB / 0.5191 GB, free: 3.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1464, allocations: 121.8 kB / 0.5192 GB, free: 3.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1464, allocations: 25.7 kB / 0.5192 GB, free: 3.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1464, allocations: 92.08 kB / 0.5193 GB, free: 3.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1465, allocations: 23.78 kB / 0.5193 GB, free: 3.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.1465, allocations: 21.67 kB / 0.5194 GB, free: 3.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1467, allocations: 330.8 kB / 0.5197 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.1467, allocations: 8 kB / 0.5197 GB, free: 3.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.1468, allocations: 43.42 kB / 0.5197 GB, free: 3.297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1469, allocations: 59.34 kB / 0.5198 GB, free: 3.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1469, allocations: 0 / 0.5198 GB, free: 3.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001673/0.1471, allocations: 85.64 kB / 0.5199 GB, free: 3.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1471, allocations: 4 kB / 0.5199 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1471, allocations: 0 / 0.5199 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1471, allocations: 4 kB / 0.5199 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1472, allocations: 8 kB / 0.5199 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.1472, allocations: 7.938 kB / 0.5199 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.1472, allocations: 3.984 kB / 0.5199 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1472, allocations: 4 kB / 0.5199 GB, free: 3.105 MB / 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.755e-05/0.1473, allocations: 117.8 kB / 0.52 GB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1473, allocations: 4.016 kB / 0.52 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.1474, allocations: 16 kB / 0.52 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1474, allocations: 0 / 0.52 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1474, allocations: 0 / 0.52 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1474, allocations: 0 / 0.52 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1476, allocations: 144.7 kB / 0.5202 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/0.1476, allocations: 3.984 kB / 0.5202 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1477, allocations: 8 kB / 0.5202 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1477, allocations: 0 / 0.5202 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1477, allocations: 0 / 0.5202 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1477, allocations: 0 / 0.5202 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1477, allocations: 4 kB / 0.5202 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1479, allocations: 183.7 kB / 0.5203 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.1479, allocations: 12.02 kB / 0.5204 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1479, allocations: 3.984 kB / 0.5204 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.148, allocations: 0 / 0.5204 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.148, allocations: 8.359 kB / 0.5204 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.148, allocations: 0 / 0.5204 GB, free: 2.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.1481, allocations: 91.22 kB / 0.5205 GB, free: 2.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1481, allocations: 0 / 0.5205 GB, free: 2.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1483, allocations: 15.92 kB / 0.5205 GB, free: 2.43 MB / 398.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.0005587/0.1489, allocations: 0.7086 MB / 0.5212 GB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.149, allocations: 39.91 kB / 0.5212 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1491, allocations: 0 / 0.5212 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.1491, allocations: 19.98 kB / 0.5212 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1494, allocations: 4 kB / 0.5212 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1511, allocations: 1.373 MB / 0.5226 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.012e-05/0.1511, allocations: 71.33 kB / 0.5226 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.1512, allocations: 3.938 kB / 0.5226 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.1512, allocations: 23.42 kB / 0.5227 GB, free: 48 kB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1512, allocations: 0 / 0.5227 GB, free: 48 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.1833, allocations: 2.113 MB / 0.5247 GB, free: 13.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.55, allocations: 12.94 kB / 0.5247 GB, free: 13.92 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 14.962410311680287]