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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001598/0.001598, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 87.86 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3337, allocations: 62.43 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002745/0.3365, allocations: 1.57 MB / 0.5321 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.3368, allocations: 78.12 kB / 0.5322 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.3369, allocations: 0 / 0.5322 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.337, allocations: 3.938 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.214e-05/0.337, allocations: 7.688 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.3372, allocations: 18.09 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3373, allocations: 50.25 kB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.3374, allocations: 7.062 kB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.3374, allocations: 11.5 kB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.3375, allocations: 15.45 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3375, allocations: 3.844 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.3375, allocations: 0 / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.3376, allocations: 7.75 kB / 0.5323 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.3376, allocations: 22.75 kB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.3377, allocations: 31.95 kB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3377, allocations: 6.656 kB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3377, allocations: 0 / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3377, allocations: 0 / 0.5324 GB, free: 11.9 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.0004664/0.3382, allocations: 348.9 kB / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3382, allocations: 10.06 kB / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.3383, allocations: 36.12 kB / 0.5328 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.3383, allocations: 7.266 kB / 0.5328 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3386, allocations: 183 kB / 0.5329 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3386, allocations: 13.67 kB / 0.533 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3386, allocations: 2.906 kB / 0.533 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3388, allocations: 65.83 kB / 0.533 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3388, allocations: 8.734 kB / 0.533 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3388, allocations: 1.062 kB / 0.533 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3388, allocations: 5.141 kB / 0.533 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.306e-05/0.3389, allocations: 26.3 kB / 0.5331 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.3395, allocations: 448.4 kB / 0.5335 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3396, allocations: 46.59 kB / 0.5335 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.3397, allocations: 19 kB / 0.5336 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.3397, allocations: 1.281 kB / 0.5336 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3397, allocations: 30.56 kB / 0.5336 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3398, allocations: 1.531 kB / 0.5336 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004608/0.3402, allocations: 110.9 kB / 0.5337 GB, free: 10.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3403, allocations: 52.59 kB / 0.5337 GB, free: 10.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.3404, allocations: 114.7 kB / 0.5339 GB, free: 10.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3404, allocations: 29.7 kB / 0.5339 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.3405, allocations: 94.88 kB / 0.534 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.3405, allocations: 13.27 kB / 0.534 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.3405, allocations: 19.38 kB / 0.534 GB, free: 10.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3407, allocations: 320.1 kB / 0.5343 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.3407, allocations: 15.89 kB / 0.5343 GB, free: 9.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.3408, allocations: 46.45 kB / 0.5344 GB, free: 9.816 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.3409, allocations: 55.73 kB / 0.5344 GB, free: 9.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3409, allocations: 5.312 kB / 0.5344 GB, free: 9.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001836/0.3411, allocations: 93.12 kB / 0.5345 GB, free: 9.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3412, allocations: 4.875 kB / 0.5345 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3412, allocations: 1.156 kB / 0.5345 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3412, allocations: 5.516 kB / 0.5345 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.3413, allocations: 10.38 kB / 0.5345 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3413, allocations: 2.125 kB / 0.5345 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.3413, allocations: 1.844 kB / 0.5345 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3413, allocations: 5.875 kB / 0.5345 GB, free: 9.691 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.999e-05/0.3414, allocations: 125.6 kB / 0.5347 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3415, allocations: 5.797 kB / 0.5347 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3415, allocations: 9.812 kB / 0.5347 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3415, allocations: 0 / 0.5347 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3415, allocations: 1.906 kB / 0.5347 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3415, allocations: 384 / 0.5347 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3417, allocations: 173.8 kB / 0.5348 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3417, allocations: 1.906 kB / 0.5348 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.3418, allocations: 11.52 kB / 0.5349 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3418, allocations: 1.656 kB / 0.5349 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3418, allocations: 3.938 kB / 0.5349 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3418, allocations: 4 kB / 0.5349 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3418, allocations: 5.484 kB / 0.5349 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3421, allocations: 178.5 kB / 0.535 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.3422, allocations: 82.53 kB / 0.5351 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3422, allocations: 3.938 kB / 0.5351 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.3423, allocations: 2.844 kB / 0.5351 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.3423, allocations: 5.219 kB / 0.5351 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3423, allocations: 1.125 kB / 0.5351 GB, free: 9.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.3423, allocations: 90.3 kB / 0.5352 GB, free: 8.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3424, allocations: 1.625 kB / 0.5352 GB, free: 8.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.3426, allocations: 13.41 kB / 0.5352 GB, free: 8.965 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.000575/0.3432, allocations: 0.7031 MB / 0.5359 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.3433, allocations: 39.84 kB / 0.536 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3433, allocations: 0 / 0.536 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.3434, allocations: 26.86 kB / 0.536 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.3436, allocations: 8.125 kB / 0.536 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.3451, allocations: 1.363 MB / 0.5373 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3455, allocations: 0.6823 MB / 0.538 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.3455, allocations: 10.73 kB / 0.538 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.3455, allocations: 14.19 kB / 0.538 GB, free: 6.199 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3456, allocations: 0 / 0.538 GB, free: 6.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3709, allocations: 1.507 MB / 0.5395 GB, free: 5.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.98, allocations: 10.34 kB / 0.5395 GB, free: 5.348 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches