Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime.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.0007828/0.0007828, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008881/0.0008881, allocations: 222.3 kB / 22.25 MB, free: 3.559 MB / 13.93 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 0.994/0.994, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.04284/0.04284, allocations: 9.547 MB / 322 MB, free: 8.453 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/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(ChaoticCircuits.Test.OpAmpRiseTime,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_OpAmpRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.OpAmpRiseTime,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_OpAmpRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 75.91 kB / 448.6 MB, free: 37.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08101, allocations: 55.78 MB / 0.4926 GB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.OpAmpRiseTime): time 0.003407/0.08441, allocations: 2.268 MB / 0.4948 GB, free: 11.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006153/0.08503, allocations: 263.1 kB / 0.495 GB, free: 11.29 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.08517, allocations: 7.938 kB / 0.495 GB, free: 11.28 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.08533, allocations: 35.66 kB / 0.4951 GB, free: 11.24 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.08552, allocations: 51.56 kB / 0.4951 GB, free: 11.19 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.08577, allocations: 75.86 kB / 0.4952 GB, free: 11.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.08601, allocations: 215.2 kB / 0.4954 GB, free: 10.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.08618, allocations: 75.95 kB / 0.4955 GB, free: 10.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.0863, allocations: 87.66 kB / 0.4956 GB, free: 10.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.0864, allocations: 75.61 kB / 0.4956 GB, free: 10.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.08643, allocations: 20 kB / 0.4956 GB, free: 10.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.08648, allocations: 23.98 kB / 0.4957 GB, free: 10.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.08652, allocations: 43.86 kB / 0.4957 GB, free: 10.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.08659, allocations: 91.53 kB / 0.4958 GB, free: 10.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.08683, allocations: 223.1 kB / 0.496 GB, free: 10.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.08683, allocations: 0 / 0.496 GB, free: 10.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.08683, allocations: 0 / 0.496 GB, free: 10.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.08684, allocations: 0 / 0.496 GB, free: 10.28 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005853/0.08742, allocations: 429.3 kB / 0.4964 GB, free: 9.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.08747, allocations: 11.97 kB / 0.4964 GB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.08751, allocations: 62.67 kB / 0.4965 GB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.08756, allocations: 20.8 kB / 0.4965 GB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.08781, allocations: 186.7 kB / 0.4967 GB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.08783, allocations: 20.12 kB / 0.4967 GB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.08786, allocations: 16 kB / 0.4967 GB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.08822, allocations: 261.7 kB / 0.497 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.08823, allocations: 0 / 0.497 GB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.08825, allocations: 12 kB / 0.497 GB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.08826, allocations: 4 kB / 0.497 GB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.08843, allocations: 112.6 kB / 0.4971 GB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009485/0.08938, allocations: 0.784 MB / 0.4979 GB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.08953, allocations: 74.67 kB / 0.4979 GB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.08959, allocations: 49.05 kB / 0.498 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.08961, allocations: 7.938 kB / 0.498 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.08982, allocations: 95.38 kB / 0.4981 GB, free: 7.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.08982, allocations: 4 kB / 0.4981 GB, free: 7.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003149/0.09014, allocations: 141.5 kB / 0.4982 GB, free: 7.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.09021, allocations: 110.8 kB / 0.4983 GB, free: 7.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.09036, allocations: 194.8 kB / 0.4985 GB, free: 7.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.09038, allocations: 33.7 kB / 0.4985 GB, free: 7.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.09048, allocations: 168 kB / 0.4987 GB, free: 7.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.09051, allocations: 39.69 kB / 0.4987 GB, free: 7.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.09057, allocations: 49.94 kB / 0.4988 GB, free: 7.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.09066, allocations: 326.8 kB / 0.4991 GB, free: 6.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.09073, allocations: 44.2 kB / 0.4991 GB, free: 6.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.09087, allocations: 225.7 kB / 0.4994 GB, free: 6.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.0911, allocations: 235.2 kB / 0.4996 GB, free: 6.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.0911, allocations: 4 kB / 0.4996 GB, free: 6.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004778/0.09158, allocations: 306.3 kB / 0.4999 GB, free: 5.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.0916, allocations: 4.031 kB / 0.4999 GB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.0916, allocations: 11.94 kB / 0.4999 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.0919, allocations: 100.8 kB / 0.5 GB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.09199, allocations: 39.92 kB / 0.5 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.0938, allocations: 1.625 MB / 0.5016 GB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.09392, allocations: 43.89 kB / 0.5017 GB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.09394, allocations: 8 kB / 0.5017 GB, free: 3.965 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: t10:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"Time when output exceeds 10%\" type: Real t90:DISCRETE(start = 0.0 unit = \"s\" fixed = true ) \"Time when output exceeds 90%\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.t10,t10,$PRE.t90,t90,$whenCondition3,opAmp.limiter.satNeg,opAmp.limiter.satPos,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.0941, allocations: 158.2 kB / 0.5018 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.09413, allocations: 19.84 kB / 0.5018 GB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.09417, allocations: 17.41 kB / 0.5018 GB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.09417, allocations: 4 kB / 0.5019 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.09417, allocations: 3.984 kB / 0.5019 GB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.09418, allocations: 0 / 0.5019 GB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/0.09465, allocations: 442.1 kB / 0.5023 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.09465, allocations: 0 / 0.5023 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.09471, allocations: 8 kB / 0.5023 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.09471, allocations: 3.984 kB / 0.5023 GB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.09472, allocations: 8.062 kB / 0.5023 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.09472, allocations: 0 / 0.5023 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.09473, allocations: 0 / 0.5023 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.09495, allocations: 270.8 kB / 0.5026 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.09497, allocations: 11.94 kB / 0.5026 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.09499, allocations: 8.094 kB / 0.5026 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.09506, allocations: 15.98 kB / 0.5026 GB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.0951, allocations: 15.97 kB / 0.5026 GB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.09511, allocations: 4.094 kB / 0.5026 GB, free: 2.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.085e-05/0.09519, allocations: 135.2 kB / 0.5027 GB, free: 2.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09519, allocations: 0 / 0.5027 GB, free: 2.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.09544, allocations: 51.88 kB / 0.5028 GB, free: 2.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (opAmp.firstOrder.y) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,t10,t90,opAmp.limiter.satPos,opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0005487/0.09598, allocations: 0.8167 MB / 0.5036 GB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.09633, allocations: 251.3 kB / 0.5038 GB, free: 1.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.09633, allocations: 4 kB / 0.5038 GB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.0964, allocations: 44.05 kB / 0.5039 GB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.09662, allocations: 33.27 kB / 0.5039 GB, free: 1.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.09877, allocations: 2.329 MB / 0.5062 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.09885, allocations: 116.6 kB / 0.5063 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.75e-05/0.09893, allocations: 29.61 kB / 0.5063 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.099, allocations: 59.41 kB / 0.5064 GB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.099, allocations: 0 / 0.5064 GB, free: 14.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08446/0.1835, allocations: 4.805 MB / 0.5111 GB, free: 10.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/7.965, allocations: 3.938 kB / 0.5111 GB, free: 10.15 MB / 378.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_OpAmpRiseTime_fmu --startTime=0 --stopTime=0.005 --stepSize=1e-07 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_OpAmpRiseTime.fmu) > ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime_fmpy_res.csv --start-time 0 --stop-time 0.005 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-07 ../ChaoticCircuits_ChaoticCircuits_Test_OpAmpRiseTime.fmu) > ChaoticCircuits_ChaoticCircuits.Test.OpAmpRiseTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.909519150853157]