Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.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.0009617/0.0009617, 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.001298/0.001298, 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.951/0.951, allocations: 230.6 MB / 256 MB, free: 9.594 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.02735/0.02735, allocations: 9.544 MB / 322 MB, free: 8.465 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.ChaoticOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChaoticOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit",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.001036/0.001036, allocations: 67.89 kB / 448.6 MB, free: 37.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.0804, allocations: 55.79 MB / 0.4926 GB, free: 13.81 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChaoticOscillator.ImprovedCircuit): time 0.003301/0.0837, allocations: 3.642 MB / 0.4961 GB, free: 10.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.08473, allocations: 0.8963 MB / 0.497 GB, free: 9.246 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.08488, allocations: 15.94 kB / 0.497 GB, free: 9.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.08506, allocations: 91.08 kB / 0.4971 GB, free: 9.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.08534, allocations: 178.5 kB / 0.4973 GB, free: 8.965 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.08551, allocations: 143.8 kB / 0.4974 GB, free: 8.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.08613, allocations: 0.6577 MB / 0.4981 GB, free: 8.164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.08633, allocations: 142.3 kB / 0.4982 GB, free: 8.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.0865, allocations: 251.1 kB / 0.4984 GB, free: 7.766 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.08669, allocations: 254.7 kB / 0.4987 GB, free: 7.516 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.08674, allocations: 56 kB / 0.4987 GB, free: 7.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.0868, allocations: 59.94 kB / 0.4988 GB, free: 7.402 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.08686, allocations: 123.5 kB / 0.4989 GB, free: 7.281 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.08698, allocations: 250.8 kB / 0.4992 GB, free: 7.035 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.08736, allocations: 0.6224 MB / 0.4998 GB, free: 6.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.08736, allocations: 4 kB / 0.4998 GB, free: 6.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08736, allocations: 0 / 0.4998 GB, free: 6.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.08737, allocations: 0 / 0.4998 GB, free: 6.406 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0008501/0.08822, allocations: 0.7932 MB / 0.5005 GB, free: 5.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.08825, allocations: 12.03 kB / 0.5006 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.555e-05/0.08832, allocations: 86.7 kB / 0.5006 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.08838, allocations: 68.52 kB / 0.5007 GB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.0887, allocations: 314.1 kB / 0.501 GB, free: 5.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.08873, allocations: 40.94 kB / 0.501 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.08877, allocations: 44 kB / 0.5011 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.08934, allocations: 0.7649 MB / 0.5018 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.08935, allocations: 0 / 0.5018 GB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.08938, allocations: 27.98 kB / 0.5019 GB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.08939, allocations: 16 kB / 0.5019 GB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.08982, allocations: 363.7 kB / 0.5022 GB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.0914, allocations: 1.544 MB / 0.5037 GB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.09181, allocations: 306.4 kB / 0.504 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.0922, allocations: 312.5 kB / 0.5043 GB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.09222, allocations: 4 kB / 0.5043 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.09224, allocations: 38.56 kB / 0.5044 GB, free: 1.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.353e-06/0.09224, allocations: 0 / 0.5044 GB, free: 1.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.001721/0.09396, allocations: 0.8321 MB / 0.5052 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.09402, allocations: 183.9 kB / 0.5053 GB, free: 380 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.09428, allocations: 381.6 kB / 0.5057 GB, free: 15.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.0943, allocations: 37.7 kB / 0.5057 GB, free: 15.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.09441, allocations: 268.2 kB / 0.506 GB, free: 15.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.09447, allocations: 126.9 kB / 0.5061 GB, free: 15.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.09455, allocations: 78.12 kB / 0.5062 GB, free: 15.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.09463, allocations: 350.8 kB / 0.5065 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.09477, allocations: 112.8 kB / 0.5066 GB, free: 15.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.09499, allocations: 337.7 kB / 0.507 GB, free: 14.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.09529, allocations: 294.2 kB / 0.5072 GB, free: 14.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.09529, allocations: 0 / 0.5072 GB, free: 14.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008058/0.09609, allocations: 0.5968 MB / 0.5078 GB, free: 13.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.09611, allocations: 7.938 kB / 0.5078 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.09611, allocations: 4 kB / 0.5078 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003488/0.09646, allocations: 157.6 kB / 0.508 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.09664, allocations: 87.89 kB / 0.5081 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.09941, allocations: 3.589 MB / 0.5116 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.09957, allocations: 55.64 kB / 0.5116 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.09959, allocations: 16 kB / 0.5116 GB, free: 9.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.limiter.satNeg,opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.09971, allocations: 164.9 kB / 0.5118 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.09976, allocations: 47.75 kB / 0.5118 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.09979, allocations: 48.17 kB / 0.5119 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.0998, allocations: 4 kB / 0.5119 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.0998, allocations: 0 / 0.5119 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.0998, allocations: 0 / 0.5119 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.101, allocations: 1.026 MB / 0.5129 GB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.101, allocations: 4.062 kB / 0.5129 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1011, allocations: 55.91 kB / 0.513 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.1014, allocations: 165.5 kB / 0.5131 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1014, allocations: 8.125 kB / 0.5131 GB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.1038, allocations: 3.558 MB / 0.5166 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1038, allocations: 4.031 kB / 0.5166 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/0.1047, allocations: 0.7412 MB / 0.5173 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.1047, allocations: 47.67 kB / 0.5174 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1047, allocations: 8 kB / 0.5174 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.1049, allocations: 43.95 kB / 0.5174 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1049, allocations: 27.95 kB / 0.5174 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.105, allocations: 12.06 kB / 0.5175 GB, free: 3.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1051, allocations: 271.1 kB / 0.5177 GB, free: 3.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1051, allocations: 4 kB / 0.5177 GB, free: 3.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.1055, allocations: 155.7 kB / 0.5179 GB, free: 2.855 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (capacitor.v,inductor.i,cs.v) * Number of discrete variables: 2 (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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.1066, allocations: 1.3 MB / 0.5191 GB, free: 1.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005686/0.1072, allocations: 0.5244 MB / 0.5196 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1072, allocations: 4.25 kB / 0.5196 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.1075, allocations: 413.1 kB / 0.52 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1078, allocations: 74.8 kB / 0.5201 GB, free: 472 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.1118, allocations: 4.341 MB / 0.5244 GB, free: 12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1119, allocations: 240.2 kB / 0.5246 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.648e-05/0.112, allocations: 39.27 kB / 0.5246 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.1121, allocations: 155.4 kB / 0.5248 GB, free: 11.55 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1121, allocations: 0 / 0.5248 GB, free: 11.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09789/0.21, allocations: 11.54 MB / 0.536 GB, free: 212 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.283, allocations: 19.47 kB / 0.5361 GB, free: 196 kB / 394.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.41378812212497]