Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.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.001256/0.001256, 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.0008779/0.0008779, 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.9543/0.9543, allocations: 230.6 MB / 256 MB, free: 9.598 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.02769/0.02769, allocations: 9.544 MB / 322 MB, free: 8.562 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.ShinrikiOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_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.00108/0.00108, allocations: 67.91 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.09944, allocations: 55.79 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit): time 0.003668/0.1031, allocations: 4 MB / 0.4965 GB, free: 9.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1044, allocations: 1.091 MB / 0.4975 GB, free: 8.723 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.1046, allocations: 19.88 kB / 0.4976 GB, free: 8.703 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1049, allocations: 126.9 kB / 0.4977 GB, free: 8.578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1051, allocations: 194.4 kB / 0.4979 GB, free: 8.387 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1054, allocations: 191.7 kB / 0.498 GB, free: 8.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.1058, allocations: 0.7936 MB / 0.4988 GB, free: 7.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.1061, allocations: 190.3 kB / 0.499 GB, free: 7.211 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.1063, allocations: 295 kB / 0.4993 GB, free: 6.922 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.1065, allocations: 294.6 kB / 0.4996 GB, free: 6.633 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.1066, allocations: 76 kB / 0.4996 GB, free: 6.559 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.1067, allocations: 76 kB / 0.4997 GB, free: 6.484 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.1068, allocations: 151.5 kB / 0.4999 GB, free: 6.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.1069, allocations: 290.7 kB / 0.5001 GB, free: 6.051 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004968/0.1074, allocations: 0.8133 MB / 0.5009 GB, free: 5.234 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1074, allocations: 0 / 0.5009 GB, free: 5.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1074, allocations: 4 kB / 0.5009 GB, free: 5.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1074, allocations: 0 / 0.5009 GB, free: 5.23 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001219/0.1087, allocations: 0.9181 MB / 0.5018 GB, free: 4.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1087, allocations: 8.031 kB / 0.5018 GB, free: 4.273 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.869e-05/0.1088, allocations: 94.7 kB / 0.5019 GB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.1088, allocations: 68.52 kB / 0.502 GB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1093, allocations: 346 kB / 0.5023 GB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.1093, allocations: 45.23 kB / 0.5024 GB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.1093, allocations: 56 kB / 0.5024 GB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008217/0.1102, allocations: 0.7912 MB / 0.5032 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1102, allocations: 0 / 0.5032 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.1102, allocations: 20 kB / 0.5032 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1102, allocations: 16 kB / 0.5032 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006311/0.1108, allocations: 479.7 kB / 0.5037 GB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.1128, allocations: 1.852 MB / 0.5055 GB, free: 328 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1139, allocations: 0.5776 MB / 0.5061 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.1143, allocations: 289.3 kB / 0.5063 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1143, allocations: 8.266 kB / 0.5063 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1144, allocations: 42.78 kB / 0.5064 GB, free: 15.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.403e-06/0.1144, allocations: 0 / 0.5064 GB, free: 15.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002817/0.1172, allocations: 1.292 MB / 0.5076 GB, free: 14.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1172, allocations: 110.8 kB / 0.5077 GB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.1178, allocations: 381.6 kB / 0.5081 GB, free: 13.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1178, allocations: 33.7 kB / 0.5081 GB, free: 13.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1179, allocations: 296.2 kB / 0.5084 GB, free: 13.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.118, allocations: 126.9 kB / 0.5085 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.1181, allocations: 74.12 kB / 0.5086 GB, free: 13.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1182, allocations: 354.7 kB / 0.509 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.1184, allocations: 160.8 kB / 0.5091 GB, free: 12.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.1187, allocations: 289.6 kB / 0.5094 GB, free: 12.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.1192, allocations: 368.1 kB / 0.5097 GB, free: 11.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1192, allocations: 0 / 0.5097 GB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00167/0.1209, allocations: 0.9006 MB / 0.5106 GB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1209, allocations: 7.938 kB / 0.5106 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1209, allocations: 0 / 0.5106 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.1215, allocations: 301.4 kB / 0.5109 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1217, allocations: 75.89 kB / 0.511 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.127, allocations: 4.547 MB / 0.5154 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.1272, allocations: 67.67 kB / 0.5155 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1272, allocations: 20.05 kB / 0.5155 GB, free: 5.664 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 (improvedNIC.opAmp.limiter.satNeg,improvedNIC.opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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,2), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.1274, allocations: 173.7 kB / 0.5157 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.1274, allocations: 47.84 kB / 0.5157 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.1274, allocations: 44.25 kB / 0.5158 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1274, allocations: 4 kB / 0.5158 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1275, allocations: 0 / 0.5158 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1275, allocations: 7.922 kB / 0.5158 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.1278, allocations: 448.4 kB / 0.5162 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1278, allocations: 4 kB / 0.5162 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.128, allocations: 63.89 kB / 0.5163 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.1285, allocations: 297.7 kB / 0.5165 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.1285, allocations: 15.98 kB / 0.5166 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004872/0.1334, allocations: 4.556 MB / 0.521 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1334, allocations: 0 / 0.521 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.1356, allocations: 1.115 MB / 0.5221 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.1356, allocations: 51.73 kB / 0.5222 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.1356, allocations: 8 kB / 0.5222 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.1359, allocations: 51.95 kB / 0.5222 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.1359, allocations: 27.94 kB / 0.5222 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.1359, allocations: 19.94 kB / 0.5223 GB, free: 14.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.1361, allocations: 275.2 kB / 0.5225 GB, free: 14.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1361, allocations: 3.938 kB / 0.5225 GB, free: 14.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004996/0.1366, allocations: 175.6 kB / 0.5227 GB, free: 14 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (c1.v,c2.v,inductor.i) * Number of discrete variables: 2 (improvedNIC.opAmp.limiter.satPos,improvedNIC.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,2), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002054/0.1387, allocations: 1.662 MB / 0.5243 GB, free: 12.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1397, allocations: 0.7199 MB / 0.525 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1398, allocations: 4 kB / 0.525 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.1404, allocations: 0.548 MB / 0.5256 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1408, allocations: 85.61 kB / 0.5256 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.1472, allocations: 5.064 MB / 0.5306 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.1474, allocations: 246.4 kB / 0.5308 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.1475, allocations: 35.28 kB / 0.5308 GB, free: 5.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1476, allocations: 179.3 kB / 0.531 GB, free: 5.238 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1476, allocations: 0 / 0.531 GB, free: 5.238 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09232/0.24, allocations: 13.94 MB / 0.5446 GB, free: 7.484 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.389, allocations: 5.922 kB / 0.5446 GB, free: 7.484 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_ImprovedCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.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_ShinrikiOscillator_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.002262018620968]