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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 105.2 kB / 16.27 MB, free: 5.973 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.002189/0.002189, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2033/0.2033, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 69.45 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08351, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003123/0.08667, allocations: 1.539 MB / 442.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000262/0.08696, allocations: 55.8 kB / 442.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.08707, allocations: 4 kB / 442.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.08719, allocations: 11.92 kB / 442.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.08726, allocations: 3.938 kB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.08741, allocations: 15.98 kB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.08753, allocations: 39.8 kB / 442.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.08765, allocations: 23.91 kB / 442.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.08769, allocations: 11.94 kB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.08775, allocations: 19.86 kB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.08778, allocations: 4 kB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.0878, allocations: 0 / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.08782, allocations: 11.92 kB / 442.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.08786, allocations: 15.94 kB / 442.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.08797, allocations: 35.83 kB / 442.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.08798, allocations: 0 / 442.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.08799, allocations: 0 / 442.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.088, allocations: 0 / 442.4 MB, free: 5.02 MB / 318.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.0003552/0.08836, allocations: 351.3 kB / 442.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.08841, allocations: 19.88 kB / 442.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.08844, allocations: 34.75 kB / 442.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.08847, allocations: 8.844 kB / 442.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.08861, allocations: 176.3 kB / 443 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.08862, allocations: 384 / 443 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.08865, allocations: 8.375 kB / 443 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.08879, allocations: 75.11 kB / 443.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.08881, allocations: 3.938 kB / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.08883, allocations: 4 kB / 443.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.08884, allocations: 0 / 443.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.08892, allocations: 23.92 kB / 443.1 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.08931, allocations: 449.1 kB / 443.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.08946, allocations: 42.56 kB / 443.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.08951, allocations: 16.94 kB / 443.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.08952, allocations: 0 / 443.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.08954, allocations: 34.56 kB / 443.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.08955, allocations: 0 / 443.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004025/0.08996, allocations: 113.3 kB / 443.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.08999, allocations: 51.41 kB / 443.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.624e-05/0.09006, allocations: 113.8 kB / 443.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.09007, allocations: 29.7 kB / 443.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.09011, allocations: 92.05 kB / 444 MB, free: 3.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.09013, allocations: 16.17 kB / 444 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.09017, allocations: 21.72 kB / 444.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.09022, allocations: 322.7 kB / 444.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.09027, allocations: 15.98 kB / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-05/0.09032, allocations: 47.3 kB / 444.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.09042, allocations: 63.36 kB / 444.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.09043, allocations: 0 / 444.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001287/0.09056, allocations: 81.61 kB / 444.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.09058, allocations: 4 kB / 444.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.09059, allocations: 4.375 kB / 444.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.09061, allocations: 4.094 kB / 444.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.09067, allocations: 11.98 kB / 444.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.09068, allocations: 4 kB / 444.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.09073, allocations: 0 / 444.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.09074, allocations: 4 kB / 444.6 MB, free: 2.547 MB / 318.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 5.953e-05/0.0908, allocations: 133.6 kB / 444.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.09083, allocations: 3.906 kB / 444.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.09086, allocations: 15.89 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.09087, allocations: 4 kB / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.09087, allocations: 0 / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.09088, allocations: 0 / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.09101, allocations: 173.6 kB / 444.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.09101, allocations: 4 kB / 444.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.09109, allocations: 8 kB / 444.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.0911, allocations: 0 / 444.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.09111, allocations: 0 / 444.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.09111, allocations: 0 / 444.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.09112, allocations: 3.984 kB / 444.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.09131, allocations: 187.3 kB / 445.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.09133, allocations: 77.11 kB / 445.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.09135, allocations: 4.031 kB / 445.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.09142, allocations: 3.984 kB / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.09145, allocations: 0 / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.09146, allocations: 4 kB / 445.2 MB, free: 1.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.691e-05/0.09149, allocations: 91.27 kB / 445.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0915, allocations: 4.062 kB / 445.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.09172, allocations: 11.94 kB / 445.3 MB, free: 1.734 MB / 318.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.0002894/0.09202, allocations: 0.7009 MB / 446 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.09216, allocations: 48.03 kB / 446.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.09217, allocations: 0 / 446.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.09222, allocations: 23.92 kB / 446.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.09252, allocations: 11.38 kB / 446.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.09357, allocations: 1.349 MB / 447.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.09379, allocations: 0.6885 MB / 448.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.09383, allocations: 4 kB / 448.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.09388, allocations: 23.44 kB / 448.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.934e-06/0.09388, allocations: 0 / 448.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.1098, allocations: 1.547 MB / 449.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.751, allocations: 11.86 kB / 449.7 MB, free: 13.18 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.csv","/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) Reference file matches