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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001559, allocations: 110.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 183.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2137/0.2137, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 59.84 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3509, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002495/0.3535, allocations: 1.557 MB / 0.5199 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002168/0.3537, allocations: 60.97 kB / 0.52 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.3538, allocations: 1.219 kB / 0.52 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3539, allocations: 9.984 kB / 0.52 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.211e-05/0.354, allocations: 9.078 kB / 0.52 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.3541, allocations: 20.8 kB / 0.52 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.62e-05/0.3542, allocations: 35.48 kB / 0.5201 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.3543, allocations: 11.52 kB / 0.5201 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.3543, allocations: 11.31 kB / 0.5201 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.3544, allocations: 18.12 kB / 0.5201 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3544, allocations: 2.156 kB / 0.5201 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.025e-05/0.3544, allocations: 2.469 kB / 0.5201 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.3545, allocations: 6.453 kB / 0.5201 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.3545, allocations: 25.8 kB / 0.5201 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.3546, allocations: 40.05 kB / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3546, allocations: 5.219 kB / 0.5202 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3546, allocations: 0 / 0.5202 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3546, allocations: 0 / 0.5202 GB, free: 2.047 MB / 382.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.000335/0.355, allocations: 347.2 kB / 0.5205 GB, free: 1.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.355, allocations: 10.34 kB / 0.5205 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.326e-05/0.355, allocations: 36.7 kB / 0.5205 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.3551, allocations: 8.516 kB / 0.5206 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3553, allocations: 179.8 kB / 0.5207 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3553, allocations: 6.406 kB / 0.5207 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3553, allocations: 2.656 kB / 0.5207 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3554, allocations: 80.77 kB / 0.5208 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3554, allocations: 3.938 kB / 0.5208 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3555, allocations: 1.031 kB / 0.5208 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3555, allocations: 0.875 kB / 0.5208 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.216e-05/0.3556, allocations: 31.47 kB / 0.5208 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.3559, allocations: 437.2 kB / 0.5213 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3561, allocations: 46.45 kB / 0.5213 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.3561, allocations: 17.98 kB / 0.5213 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.3562, allocations: 1.406 kB / 0.5213 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.092e-05/0.3562, allocations: 31.31 kB / 0.5214 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3562, allocations: 0 / 0.5214 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004322/0.3566, allocations: 117.5 kB / 0.5215 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.3567, allocations: 55.41 kB / 0.5215 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.3567, allocations: 112.2 kB / 0.5216 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.3567, allocations: 30.36 kB / 0.5217 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.3568, allocations: 92.27 kB / 0.5217 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.3568, allocations: 14.58 kB / 0.5218 GB, free: 444 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3568, allocations: 20.8 kB / 0.5218 GB, free: 424 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.3569, allocations: 321.5 kB / 0.5221 GB, free: 96 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.3569, allocations: 15.28 kB / 0.5221 GB, free: 92 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.357, allocations: 42.2 kB / 0.5221 GB, free: 52 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.285e-05/0.3571, allocations: 56.7 kB / 0.5222 GB, free: 8 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3571, allocations: 0 / 0.5222 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001902/0.3573, allocations: 92.42 kB / 0.5223 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3573, allocations: 6.172 kB / 0.5223 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3573, allocations: 5.156 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3574, allocations: 1 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.3574, allocations: 15.73 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3574, allocations: 2.781 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.3575, allocations: 2.922 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3575, allocations: 7.016 kB / 0.5223 GB, free: 15.93 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 7.534e-05/0.3576, allocations: 117.2 kB / 0.5224 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3576, allocations: 2.734 kB / 0.5224 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.3576, allocations: 11.42 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3577, allocations: 0 / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3577, allocations: 1.062 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3577, allocations: 0.7031 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3578, allocations: 171.1 kB / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3579, allocations: 0 / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.3579, allocations: 14.77 kB / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3579, allocations: 5.031 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.358, allocations: 5.375 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.358, allocations: 0 / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.358, allocations: 384 / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3582, allocations: 181 kB / 0.5228 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.3583, allocations: 79.23 kB / 0.5229 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3583, allocations: 1.797 kB / 0.5229 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.3584, allocations: 10.19 kB / 0.5229 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.3584, allocations: 2.922 kB / 0.5229 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3584, allocations: 1.25 kB / 0.5229 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.966e-05/0.3585, allocations: 90.03 kB / 0.523 GB, free: 15.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3585, allocations: 0.9688 kB / 0.523 GB, free: 15.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.3587, allocations: 13.44 kB / 0.523 GB, free: 15.25 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.0005124/0.3592, allocations: 0.7069 MB / 0.5237 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.3594, allocations: 38.25 kB / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3594, allocations: 0 / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.3595, allocations: 17.33 kB / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3598, allocations: 10.94 kB / 0.5238 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3612, allocations: 1.373 MB / 0.5251 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3615, allocations: 0.6914 MB / 0.5258 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.779e-05/0.3616, allocations: 4.281 kB / 0.5258 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.3616, allocations: 15 kB / 0.5258 GB, free: 12.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3616, allocations: 1.031 kB / 0.5258 GB, free: 12.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3852, allocations: 1.593 MB / 0.5273 GB, free: 12.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.069, allocations: 5.391 kB / 0.5274 GB, free: 12.14 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches