Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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.0008127/0.0008127, allocations: 72.56 kB / 19.92 MB, free: 4.621 MB / 18.57 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.0009245/0.0009245, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8785/0.8785, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1328/0.1328, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.702e-05, allocations: 2.281 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001407/0.001434, allocations: 0.8311 MB / 407.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001817/0.001616, allocations: 43.83 kB / 407.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.001674, allocations: 4 kB / 407.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.001778, allocations: 11.86 kB / 407.7 MB, free: 1.383 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.891e-05/0.001797, allocations: 0 / 407.7 MB, free: 1.383 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.0019, allocations: 19.97 kB / 407.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.002009, allocations: 39.86 kB / 407.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.002123, allocations: 19.92 kB / 407.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.002172, allocations: 19.98 kB / 407.8 MB, free: 1.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.002212, allocations: 11.91 kB / 407.8 MB, free: 1.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.002233, allocations: 4 kB / 407.8 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.002245, allocations: 4 kB / 407.8 MB, free: 1.266 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.002264, allocations: 7.938 kB / 407.8 MB, free: 1.258 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.002289, allocations: 15.92 kB / 407.8 MB, free: 1.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.002405, allocations: 35.89 kB / 407.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.002407, allocations: 0 / 407.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.002408, allocations: 0 / 407.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.002413, allocations: 0 / 407.9 MB, free: 1.207 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000446/0.002859, allocations: 283.1 kB / 408.2 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.002904, allocations: 8.031 kB / 408.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.002956, allocations: 42.73 kB / 408.2 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.002985, allocations: 4.891 kB / 408.2 MB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.003179, allocations: 117.7 kB / 408.3 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.003191, allocations: 8.375 kB / 408.3 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.00321, allocations: 4.312 kB / 408.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.003325, allocations: 58.17 kB / 408.4 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.003335, allocations: 192 / 408.4 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.003347, allocations: 8.375 kB / 408.4 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.003354, allocations: 4.125 kB / 408.4 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.003399, allocations: 12 kB / 408.4 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.003874, allocations: 259.8 kB / 408.7 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.003933, allocations: 18.58 kB / 408.7 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.003953, allocations: 12.92 kB / 408.7 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.003964, allocations: 0 / 408.7 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.84e-05/0.004042, allocations: 51.41 kB / 408.8 MB, free: 196 kB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.004043, allocations: 0 / 408.8 MB, free: 196 kB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001401/0.004183, allocations: 53.61 kB / 408.8 MB, free: 136 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.004213, allocations: 59.41 kB / 408.9 MB, free: 64 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.004298, allocations: 117.8 kB / 409 MB, free: 15.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.004309, allocations: 25.7 kB / 409 MB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.00435, allocations: 92.09 kB / 409.1 MB, free: 15.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.004361, allocations: 7.891 kB / 409.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.004387, allocations: 17.72 kB / 409.1 MB, free: 15.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.004463, allocations: 326.8 kB / 409.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.004475, allocations: 4 kB / 409.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.004494, allocations: 17.72 kB / 409.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.004526, allocations: 33.64 kB / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004528, allocations: 0 / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.425e-05/0.004582, allocations: 61.58 kB / 409.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.004593, allocations: 7.938 kB / 409.6 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004597, allocations: 0 / 409.6 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004608, allocations: 8 kB / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.792e-05/0.004636, allocations: 4 kB / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.004641, allocations: 0 / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.004659, allocations: 0 / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.004664, allocations: 4 kB / 409.6 MB, free: 15.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.8e-05/0.004722, allocations: 114.2 kB / 409.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.004729, allocations: 8 kB / 409.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.004746, allocations: 7.984 kB / 409.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.004749, allocations: 4 kB / 409.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.004752, allocations: 3.938 kB / 409.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004755, allocations: 0 / 409.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.004964, allocations: 269.5 kB / 410 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004965, allocations: 4 kB / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.004979, allocations: 0 / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.004981, allocations: 0 / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.004987, allocations: 0 / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.00499, allocations: 8 kB / 410 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.004991, allocations: 0 / 410 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.005095, allocations: 151.4 kB / 410.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.005105, allocations: 11.97 kB / 410.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.005115, allocations: 432 / 410.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.005144, allocations: 0 / 410.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.005171, allocations: 7.938 kB / 410.1 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.005176, allocations: 4 kB / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.507e-05/0.005211, allocations: 91.27 kB / 410.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005211, allocations: 0 / 410.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000141/0.005352, allocations: 4 kB / 410.2 MB, free: 14.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002368/0.005588, allocations: 0.6852 MB / 410.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.542e-05/0.005654, allocations: 23.94 kB / 411 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005655, allocations: 0 / 411 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.005669, allocations: 11.98 kB / 411 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.005861, allocations: 7.938 kB / 411 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.006696, allocations: 1.305 MB / 412.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.635e-05/0.006742, allocations: 71.47 kB / 412.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.006769, allocations: 7.984 kB / 412.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.006804, allocations: 12.5 kB / 412.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.006804, allocations: 0 / 412.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.02214, allocations: 2.275 MB / 414.6 MB, free: 10 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.113, allocations: 4 kB / 414.6 MB, free: 10 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000998004 ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/SelfResettingIntegrator/SelfResettingIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,integrator.y Variables in the result:time,integrator.y [Calling sys.exit(0), Time elapsed: 9.260887557640672]