Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001755/0.001755, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.00176/0.00176, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 46.94 MB / 361.7 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 0.4969 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3485, allocations: 66.03 MB / 0.5614 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003099/0.3516, allocations: 1.564 MB / 0.5629 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.352, allocations: 79.72 kB / 0.563 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.352, allocations: 0 / 0.563 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3522, allocations: 3.938 kB / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.3522, allocations: 3.938 kB / 0.563 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.3524, allocations: 23.92 kB / 0.563 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3525, allocations: 35.86 kB / 0.5631 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3526, allocations: 13.75 kB / 0.5631 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.3527, allocations: 15.92 kB / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.3527, allocations: 15.92 kB / 0.5631 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3527, allocations: 4 kB / 0.5631 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.3528, allocations: 8 kB / 0.5631 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.3528, allocations: 4 kB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.3528, allocations: 19.86 kB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.353, allocations: 39.77 kB / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.353, allocations: 0 / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.353, allocations: 0 / 0.5632 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.353, allocations: 0 / 0.5632 GB, free: 2.656 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.000466/0.3534, allocations: 280.4 kB / 0.5635 GB, free: 2.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3535, allocations: 8.031 kB / 0.5635 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.79e-05/0.3535, allocations: 8.172 kB / 0.5635 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.3535, allocations: 38.75 kB / 0.5635 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.3536, allocations: 4.891 kB / 0.5635 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3538, allocations: 118.5 kB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3538, allocations: 4.375 kB / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3539, allocations: 4.375 kB / 0.5636 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.354, allocations: 80.5 kB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.354, allocations: 0 / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.354, allocations: 4 kB / 0.5637 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3541, allocations: 0 / 0.5637 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.33e-05/0.3541, allocations: 19.98 kB / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.3547, allocations: 432.1 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3549, allocations: 38.56 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.355, allocations: 20.94 kB / 0.5642 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.355, allocations: 0 / 0.5642 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.355, allocations: 34.5 kB / 0.5642 GB, free: 1.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.355, allocations: 0 / 0.5642 GB, free: 1.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004909/0.3555, allocations: 109.9 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3555, allocations: 51.41 kB / 0.5644 GB, free: 1.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.3556, allocations: 118.1 kB / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3557, allocations: 25.7 kB / 0.5645 GB, free: 1.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.3557, allocations: 100 kB / 0.5646 GB, free: 1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.3558, allocations: 11.94 kB / 0.5646 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.3558, allocations: 33.66 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3559, allocations: 318.8 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.356, allocations: 12 kB / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.3561, allocations: 39.42 kB / 0.565 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3562, allocations: 71.33 kB / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3562, allocations: 0 / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000166/0.3564, allocations: 81.56 kB / 0.5652 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3564, allocations: 4 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3564, allocations: 4 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3564, allocations: 0 / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.809e-05/0.3565, allocations: 19.94 kB / 0.5652 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3565, allocations: 4.094 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.3565, allocations: 7.984 kB / 0.5652 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3565, allocations: 3.938 kB / 0.5652 GB, free: 364 kB / 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.266e-05/0.3566, allocations: 113.8 kB / 0.5653 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3566, allocations: 7.953 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.3567, allocations: 8 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3567, allocations: 0 / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3567, allocations: 0 / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3567, allocations: 0 / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.3569, allocations: 148.7 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3569, allocations: 0 / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-05/0.3569, allocations: 11.98 kB / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3569, allocations: 0 / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3569, allocations: 0 / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3569, allocations: 0 / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3569, allocations: 4 kB / 0.5655 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3572, allocations: 183.4 kB / 0.5657 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.3572, allocations: 7.984 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3573, allocations: 4 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.3573, allocations: 4 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3573, allocations: 3.984 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3573, allocations: 0 / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.411e-05/0.3574, allocations: 99.14 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3574, allocations: 3.938 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.3576, allocations: 8 kB / 0.5658 GB, free: 15.68 MB / 414.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.0005668/0.3582, allocations: 0.7008 MB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.3584, allocations: 43.91 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3584, allocations: 0 / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/0.3584, allocations: 20.23 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3587, allocations: 8 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.3603, allocations: 1.386 MB / 0.5679 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3606, allocations: 0.6846 MB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.3607, allocations: 4 kB / 0.5686 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.3607, allocations: 11.44 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3607, allocations: 0 / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.3827, allocations: 1.672 MB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 14.28 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.870389256044291]