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.001067/0.001067, allocations: 113.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 207.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3137, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002926/0.3167, allocations: 1.562 MB / 0.532 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.317, allocations: 77.48 kB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.3171, allocations: 1.5 kB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3173, allocations: 3.938 kB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/0.3173, allocations: 5.156 kB / 0.5321 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.3175, allocations: 17.36 kB / 0.5321 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3176, allocations: 37.69 kB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3177, allocations: 9.688 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.3178, allocations: 15.56 kB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.3178, allocations: 16.39 kB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3179, allocations: 1.531 kB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.3179, allocations: 3 kB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.3179, allocations: 13.52 kB / 0.5322 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.3179, allocations: 19.39 kB / 0.5322 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.3181, allocations: 38.78 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3181, allocations: 1.312 kB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3181, allocations: 0 / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3181, allocations: 3.938 kB / 0.5323 GB, free: 11.99 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.0004559/0.3186, allocations: 347.8 kB / 0.5326 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3186, allocations: 10.53 kB / 0.5326 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.3187, allocations: 34.75 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.3187, allocations: 8.375 kB / 0.5327 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.319, allocations: 181.8 kB / 0.5328 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.319, allocations: 6.156 kB / 0.5328 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.319, allocations: 4 kB / 0.5328 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3192, allocations: 81.3 kB / 0.5329 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3192, allocations: 3.938 kB / 0.5329 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3192, allocations: 1.75 kB / 0.5329 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3192, allocations: 0 / 0.5329 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.311e-05/0.3193, allocations: 26.27 kB / 0.533 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3199, allocations: 440.6 kB / 0.5334 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.32, allocations: 47.59 kB / 0.5334 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.3201, allocations: 15.19 kB / 0.5334 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3201, allocations: 0 / 0.5334 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3202, allocations: 36.78 kB / 0.5335 GB, free: 10.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3202, allocations: 0 / 0.5335 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005321/0.3207, allocations: 115.8 kB / 0.5336 GB, free: 10.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3208, allocations: 51.41 kB / 0.5336 GB, free: 10.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3209, allocations: 109.9 kB / 0.5337 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3209, allocations: 32.27 kB / 0.5338 GB, free: 10.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.321, allocations: 91.61 kB / 0.5339 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.321, allocations: 19.73 kB / 0.5339 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.321, allocations: 17.97 kB / 0.5339 GB, free: 10.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3212, allocations: 324.1 kB / 0.5342 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/0.3213, allocations: 13.62 kB / 0.5342 GB, free: 9.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/0.3213, allocations: 41.03 kB / 0.5342 GB, free: 9.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3215, allocations: 63.92 kB / 0.5343 GB, free: 9.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3215, allocations: 1.375 kB / 0.5343 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001827/0.3217, allocations: 89.08 kB / 0.5344 GB, free: 9.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3217, allocations: 9.859 kB / 0.5344 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3217, allocations: 4 kB / 0.5344 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3217, allocations: 5.469 kB / 0.5344 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.3218, allocations: 11 kB / 0.5344 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3218, allocations: 5.312 kB / 0.5344 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.3219, allocations: 2.75 kB / 0.5344 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3219, allocations: 9.359 kB / 0.5344 GB, free: 9.777 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 0.0001039/0.322, allocations: 113.9 kB / 0.5345 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.322, allocations: 1.375 kB / 0.5346 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.3221, allocations: 9.281 kB / 0.5346 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3221, allocations: 1.75 kB / 0.5346 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3221, allocations: 7.938 kB / 0.5346 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3221, allocations: 1.375 kB / 0.5346 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3223, allocations: 169.8 kB / 0.5347 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3223, allocations: 1.375 kB / 0.5347 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.3224, allocations: 12.23 kB / 0.5347 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3224, allocations: 3.984 kB / 0.5347 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.3224, allocations: 1.375 kB / 0.5348 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3224, allocations: 0 / 0.5348 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3224, allocations: 0 / 0.5348 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3227, allocations: 187 kB / 0.5349 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.3228, allocations: 82.39 kB / 0.535 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3228, allocations: 1.375 kB / 0.535 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.3229, allocations: 1.375 kB / 0.535 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.3229, allocations: 1.375 kB / 0.535 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3229, allocations: 5.297 kB / 0.535 GB, free: 9.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.46e-05/0.3229, allocations: 91.22 kB / 0.5351 GB, free: 9.074 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.323, allocations: 4.062 kB / 0.5351 GB, free: 9.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.3232, allocations: 14.5 kB / 0.5351 GB, free: 9.062 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.000627/0.3238, allocations: 0.6954 MB / 0.5358 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.324, allocations: 44.69 kB / 0.5358 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.324, allocations: 0 / 0.5358 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.3241, allocations: 17.73 kB / 0.5359 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3244, allocations: 15.53 kB / 0.5359 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3259, allocations: 1.373 MB / 0.5372 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3261, allocations: 0.6815 MB / 0.5379 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.978e-05/0.3262, allocations: 6.484 kB / 0.5379 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.3262, allocations: 14.88 kB / 0.5379 GB, free: 6.305 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3262, allocations: 0 / 0.5379 GB, free: 6.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.3456, allocations: 1.498 MB / 0.5394 GB, free: 5.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.965, allocations: 13.94 kB / 0.5394 GB, free: 5.453 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