Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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.0009217/0.0009217, allocations: 79.53 kB / 20.02 MB, free: 4.508 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.001478/0.001478, allocations: 173.9 kB / 23.32 MB, free: 1.203 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.92/0.92, allocations: 158.6 MB / 185.1 MB, free: 3.004 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.1383/0.1383, allocations: 32.37 MB / 269.7 MB, free: 14.92 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.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 407 MB, free: 2.148 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.217e-05, allocations: 6.078 kB / 407 MB, free: 2.145 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002373/0.002405, allocations: 1.608 MB / 408.7 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003426, allocations: 0.5774 MB / 409.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.003522, allocations: 3.938 kB / 409.2 MB, free: 15.94 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003646, allocations: 11.86 kB / 409.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.003692, allocations: 15.88 kB / 409.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.004004, allocations: 87.69 kB / 409.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.004156, allocations: 123.7 kB / 409.5 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.004288, allocations: 31.88 kB / 409.5 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.953e-05/0.004388, allocations: 63.88 kB / 409.6 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.004451, allocations: 27.89 kB / 409.6 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.004472, allocations: 8 kB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.004484, allocations: 8 kB / 409.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.004638, allocations: 23.91 kB / 409.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.004678, allocations: 27.92 kB / 409.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.004819, allocations: 99.61 kB / 409.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004822, allocations: 0 / 409.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004823, allocations: 0 / 409.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004828, allocations: 4 kB / 409.8 MB, free: 15.41 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005058/0.005334, allocations: 342.8 kB / 410.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.005374, allocations: 8.031 kB / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.005403, allocations: 38.75 kB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.005435, allocations: 12.88 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.005659, allocations: 145.6 kB / 410.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.005673, allocations: 12.38 kB / 410.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.005697, allocations: 12.38 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.005883, allocations: 102.1 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.005892, allocations: 4.188 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.005905, allocations: 4.125 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.00591, allocations: 0 / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.006016, allocations: 55.97 kB / 410.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.006479, allocations: 335.8 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.006671, allocations: 102.5 kB / 410.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.00673, allocations: 32.89 kB / 410.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.006742, allocations: 3.984 kB / 410.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.006897, allocations: 103.3 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.006899, allocations: 0 / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002786/0.007178, allocations: 137.6 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.007216, allocations: 59.41 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.007305, allocations: 157.6 kB / 411.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.007316, allocations: 29.7 kB / 411.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.007359, allocations: 100.1 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.007378, allocations: 15.86 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.00741, allocations: 29.7 kB / 411.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.007487, allocations: 318.8 kB / 411.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.007557, allocations: 35.97 kB / 411.9 MB, free: 13.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.007628, allocations: 61.56 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.007739, allocations: 69.69 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007741, allocations: 0 / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.007905, allocations: 125.6 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.007929, allocations: 7.938 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.007939, allocations: 8 kB / 412.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.007951, allocations: 3.938 kB / 412.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.008021, allocations: 15.98 kB / 412.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.008027, allocations: 320 / 412.2 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.008074, allocations: 19.88 kB / 412.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.008079, allocations: 8 kB / 412.2 MB, free: 12.74 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: 7 ($whenCondition1,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.837e-05/0.008158, allocations: 117.8 kB / 412.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.00817, allocations: 11.95 kB / 412.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.008197, allocations: 12.77 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008201, allocations: 3.938 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.008205, allocations: 4 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008209, allocations: 0 / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.008549, allocations: 357.5 kB / 412.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008551, allocations: 0 / 412.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.008604, allocations: 15.92 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008606, allocations: 0 / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.008614, allocations: 0 / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.008617, allocations: 4 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008618, allocations: 0 / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.00889, allocations: 255.3 kB / 413 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.008905, allocations: 7.891 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.008922, allocations: 7.984 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.008987, allocations: 15.98 kB / 413 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.009035, allocations: 15.97 kB / 413 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.009041, allocations: 4.062 kB / 413 MB, free: 11.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003424/0.009384, allocations: 111.3 kB / 413.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009384, allocations: 0 / 413.1 MB, free: 11.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001651/0.009549, allocations: 19.92 kB / 413.2 MB, free: 11.72 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: 5 (integrator.reset,$whenCondition2,$whenCondition1,change.u,booleanPulse.pulseStart) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004338/0.009983, allocations: 0.7787 MB / 413.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.01016, allocations: 75.89 kB / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01016, allocations: 4 kB / 414 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.01023, allocations: 40.09 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01046, allocations: 27.91 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.01183, allocations: 1.654 MB / 415.7 MB, free: 9.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.01188, allocations: 81.45 kB / 415.8 MB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.01193, allocations: 12.48 kB / 415.8 MB, free: 8.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.01198, allocations: 36.48 kB / 415.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01198, allocations: 0 / 415.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.03031, allocations: 3.405 MB / 419.3 MB, free: 5.445 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.207/7.237, allocations: 8 kB / 419.3 MB, free: 5.438 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000995025 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimResetIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimResetIntegrator.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.413040224462748]