Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 92.83 kB / 16.04 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1344/0.1344, allocations: 12.63 MB / 29.4 MB, free: 6.094 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002459/0.0002461, allocations: 4 kB / 40.27 MB, free: 0.6016 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007938/0.008206, allocations: 2.827 MB / 43.1 MB, free: 6.051 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold): time 1.509/1.517, allocations: 278.6 MB / 321.7 MB, free: 9.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/1.518, allocations: 1.075 MB / 322.8 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/1.519, allocations: 12.66 kB / 322.8 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/1.519, allocations: 47.58 kB / 322.8 MB, free: 8.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/1.519, allocations: 46.23 kB / 322.9 MB, free: 8.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/1.519, allocations: 207.7 kB / 323.1 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000341/1.52, allocations: 359.4 kB / 323.4 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/1.52, allocations: 244.9 kB / 323.7 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/1.52, allocations: 95.45 kB / 323.7 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/1.52, allocations: 117.1 kB / 323.9 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/1.521, allocations: 11.98 kB / 323.9 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/1.521, allocations: 43.91 kB / 323.9 MB, free: 7.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/1.521, allocations: 55.7 kB / 324 MB, free: 7.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/1.521, allocations: 160.7 kB / 324.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/1.521, allocations: 371.4 kB / 324.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.521, allocations: 0 / 324.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/1.521, allocations: 2.406 kB / 324.5 MB, free: 6.77 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/1.521, allocations: 0 / 324.5 MB, free: 6.77 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008537/1.522, allocations: 0.5877 MB / 325.1 MB, free: 6.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/1.522, allocations: 8.031 kB / 325.1 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/1.522, allocations: 43.94 kB / 325.1 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/1.523, allocations: 323.9 kB / 325.4 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/1.523, allocations: 20.94 kB / 325.5 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/1.523, allocations: 32.28 kB / 325.5 MB, free: 5.684 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/1.524, allocations: 0.7662 MB / 326.3 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.524, allocations: 4.969 kB / 326.3 MB, free: 4.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/1.524, allocations: 12 kB / 326.3 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/1.524, allocations: 8 kB / 326.3 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/1.525, allocations: 248.8 kB / 326.5 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007362/1.525, allocations: 0.7807 MB / 327.3 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/1.526, allocations: 0.6496 MB / 328 MB, free: 3.051 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/1.527, allocations: 279.8 kB / 328.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/1.527, allocations: 0.5933 MB / 328.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.528, allocations: 42.56 kB / 328.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 1.914e-06/1.528, allocations: 0 / 328.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.001138/1.529, allocations: 0.5639 MB / 329.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.529, allocations: 212 kB / 329.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/1.529, allocations: 254.5 kB / 329.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/1.529, allocations: 33.7 kB / 329.9 MB, free: 0.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/1.529, allocations: 144.9 kB / 330.1 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/1.529, allocations: 51.53 kB / 330.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/1.529, allocations: 8 kB / 330.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/1.529, allocations: 346.8 kB / 330.5 MB, free: 328 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/1.53, allocations: 93.06 kB / 330.6 MB, free: 236 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/1.53, allocations: 442.9 kB / 331 MB, free: 15.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/1.531, allocations: 0.532 MB / 331.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.531, allocations: 4 kB / 331.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007257/1.531, allocations: 0.4975 MB / 332 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.531, allocations: 12.03 kB / 332 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.531, allocations: 12 kB / 332 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.531, allocations: 16.42 kB / 332.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/1.532, allocations: 127.7 kB / 332.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/1.532, allocations: 19.94 kB / 332.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/1.532, allocations: 51.67 kB / 332.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/1.532, allocations: 32 kB / 332.3 MB, free: 14.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001704/1.532, allocations: 201.4 kB / 332.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/1.533, allocations: 361.9 kB / 332.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/1.533, allocations: 376.6 kB / 333.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.533, allocations: 4 kB / 333.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.533, allocations: 4 kB / 333.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/1.533, allocations: 3.984 kB / 333.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/1.534, allocations: 337 kB / 333.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.534, allocations: 4 kB / 333.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/1.534, allocations: 107.9 kB / 333.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.534, allocations: 8 kB / 333.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.534, allocations: 8 kB / 333.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/1.534, allocations: 4 kB / 333.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.534, allocations: 3.938 kB / 333.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/1.535, allocations: 0.8061 MB / 334.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/1.536, allocations: 120.5 kB / 334.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/1.536, allocations: 19.98 kB / 334.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/1.536, allocations: 36.05 kB / 334.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/1.536, allocations: 3.984 kB / 334.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/1.536, allocations: 16 kB / 334.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001472/1.536, allocations: 182 kB / 334.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.264e-06/1.536, allocations: 0 / 334.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004209/1.536, allocations: 75.94 kB / 334.9 MB, free: 11.4 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00015/1.537, allocations: 127.2 kB / 335.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006364/1.537, allocations: 373.4 kB / 335.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.537, allocations: 0 / 335.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/1.537, allocations: 35.97 kB / 335.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/1.538, allocations: 315.3 kB / 335.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/1.54, allocations: 0.9223 MB / 336.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.54, allocations: 0.8161 MB / 337.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/1.54, allocations: 35.28 kB / 337.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/1.54, allocations: 35.38 kB / 337.6 MB, free: 8.688 MB / 266.7 MB Notification: Performance of SimCode: time 3.2e-07/1.54, allocations: 0 / 337.6 MB, free: 8.688 MB / 266.7 MB Notification: Performance of Templates: time 0.00782/1.548, allocations: 4.244 MB / 341.8 MB, free: 4.484 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestReplaceableSamplerHold.pipe 2>&1)