Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AdvancedNoise with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: translateModel(AdvancedNoise.Examples.FaultTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") translateModel(AdvancedNoise.Examples.FaultTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.03206/0.03206, allocations: 4.019 MB / 19.27 MB, free: 2.184 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 184.5 kB / 20.92 MB, free: 0.7539 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.7 MB / 248.1 MB, free: 5.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007787/0.0007785, allocations: 103 kB / 300.1 MB, free: 5.547 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 8 kB / 362 MB, free: 7.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1979, allocations: 51.18 MB / 413.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.0007616/0.1987, allocations: 0.501 MB / 413.6 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005974/0.1993, allocations: 0.5921 MB / 414.2 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.1994, allocations: 0 / 414.2 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.734e-05/0.1994, allocations: 9.203 kB / 414.3 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.76e-05/0.1995, allocations: 7.938 kB / 414.3 MB, free: 25.2 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1998, allocations: 75.84 kB / 414.3 MB, free: 25.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.1999, allocations: 53.58 kB / 414.4 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.2, allocations: 24.14 kB / 414.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.2, allocations: 25.45 kB / 414.4 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.2001, allocations: 19.86 kB / 414.5 MB, free: 25.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2001, allocations: 4 kB / 414.5 MB, free: 25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2002, allocations: 71.92 kB / 414.5 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2002, allocations: 16.83 kB / 414.5 MB, free: 24.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.2003, allocations: 45.56 kB / 414.6 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2004, allocations: 127.2 kB / 414.7 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2004, allocations: 0 / 414.7 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2005, allocations: 0 / 414.7 MB, free: 24.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.2005, allocations: 0 / 414.7 MB, free: 24.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000332/0.2008, allocations: 373.4 kB / 415.1 MB, free: 24.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.2008, allocations: 12.03 kB / 415.1 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2009, allocations: 8.844 kB / 415.1 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.201, allocations: 180.3 kB / 415.3 MB, free: 24.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.201, allocations: 8.375 kB / 415.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.201, allocations: 8.375 kB / 415.3 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2012, allocations: 70.22 kB / 415.4 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.2012, allocations: 7.938 kB / 415.4 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.2012, allocations: 0 / 415.4 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2012, allocations: 0 / 415.4 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.2013, allocations: 35.92 kB / 415.4 MB, free: 23.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.2019, allocations: 344.5 kB / 415.7 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.202, allocations: 50.61 kB / 415.8 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.2021, allocations: 24.73 kB / 415.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.2021, allocations: 3.984 kB / 415.8 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.2022, allocations: 71.38 kB / 415.9 MB, free: 23.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2022, allocations: 0 / 415.9 MB, free: 23.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002164/0.2025, allocations: 97.58 kB / 416 MB, free: 23.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.2025, allocations: 55.39 kB / 416 MB, free: 23.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.2026, allocations: 137.7 kB / 416.2 MB, free: 23.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.2026, allocations: 25.7 kB / 416.2 MB, free: 23.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.2026, allocations: 99.95 kB / 416.3 MB, free: 22.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.2026, allocations: 27.72 kB / 416.3 MB, free: 22.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2027, allocations: 0 / 416.3 MB, free: 22.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.2027, allocations: 314.8 kB / 416.6 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.2028, allocations: 27.98 kB / 416.7 MB, free: 22.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.2028, allocations: 74.48 kB / 416.7 MB, free: 22.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.2031, allocations: 113.9 kB / 416.8 MB, free: 22.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2031, allocations: 0 / 416.8 MB, free: 22.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001858/0.2033, allocations: 125.4 kB / 417 MB, free: 22.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.2033, allocations: 4 kB / 417 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2033, allocations: 4.391 kB / 417 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2033, allocations: 160 / 417 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.2034, allocations: 27.92 kB / 417 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2034, allocations: 4 kB / 417 MB, free: 22.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.2035, allocations: 19.78 kB / 417 MB, free: 22.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.2035, allocations: 4 kB / 417 MB, free: 22.18 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: faultTrigger.F:VARIABLE(min = 0.0 max = 1.0 fixed = true ) "The current probability to have failed already" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.faultTrigger.y,$PRE.countFaults.y,countFaults.y,globalSeed.seed,globalSeed.id_impure,$whenCondition2,faultTrigger.y,faultTrigger.r,one.y,faultTrigger.reset,countFaults.local_set,countFaults.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.89e-05/0.2036, allocations: 129.8 kB / 417.1 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.2036, allocations: 7.953 kB / 417.2 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.2037, allocations: 16.36 kB / 417.2 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2037, allocations: 3.938 kB / 417.2 MB, free: 22.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2037, allocations: 7.938 kB / 417.2 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2037, allocations: 3.938 kB / 417.2 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.204, allocations: 346.6 kB / 417.5 MB, free: 21.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.204, allocations: 0 / 417.5 MB, free: 21.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.2041, allocations: 11.92 kB / 417.5 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2041, allocations: 0 / 417.5 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2041, allocations: 3.938 kB / 417.5 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2041, allocations: 4 kB / 417.5 MB, free: 21.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2041, allocations: 0 / 417.5 MB, free: 21.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.2043, allocations: 203.3 kB / 417.7 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.2043, allocations: 81.02 kB / 417.8 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2044, allocations: 7.969 kB / 417.8 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.2045, allocations: 0 / 417.8 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.2045, allocations: 11.98 kB / 417.8 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.2045, allocations: 8.062 kB / 417.9 MB, free: 21.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.399e-05/0.2046, allocations: 99.27 kB / 417.9 MB, free: 21.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2046, allocations: 0 / 417.9 MB, free: 21.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.2048, allocations: 36.11 kB / 418 MB, free: 21.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (faultTrigger.F) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,faultTrigger.y,faultTrigger.r,countFaults.y) * Number of discrete states: 2 (faultTrigger.y,countFaults.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002766/0.2051, allocations: 199.7 kB / 418.2 MB, free: 20.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.2053, allocations: 67.84 kB / 418.2 MB, free: 20.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2053, allocations: 0 / 418.2 MB, free: 20.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.195e-05/0.2053, allocations: 20 kB / 418.3 MB, free: 20.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2056, allocations: 11.98 kB / 418.3 MB, free: 20.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.2059, allocations: 209.6 kB / 418.5 MB, free: 20.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.594e-05/0.206, allocations: 0.6887 MB / 419.2 MB, free: 19.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.399e-05/0.2061, allocations: 20.36 kB / 419.2 MB, free: 19.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.2061, allocations: 11.44 kB / 419.2 MB, free: 19.86 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2061, allocations: 0 / 419.2 MB, free: 19.86 MB / 298.7 MB Notification: Performance of Templates: time 0.003109/0.2092, allocations: 1.353 MB / 420.6 MB, free: 18.51 MB / 298.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.sim & ./AdvancedNoise_AdvancedNoise.Examples.FaultTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1)