Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.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.0008829/0.0008829, 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.001657/0.001657, allocations: 221.2 kB / 22.25 MB, free: 3.578 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.9704/0.9704, allocations: 230.6 MB / 256 MB, free: 9.609 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.02786/0.02786, allocations: 9.556 MB / 322 MB, free: 8.473 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.TestChuasDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestChuasDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode",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.001461/0.001461, allocations: 71.89 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07318/0.07464, allocations: 55.78 MB / 0.4926 GB, free: 13.85 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestChuasDiode): time 0.005082/0.07973, allocations: 4.932 MB / 0.4974 GB, free: 8.887 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.08219, allocations: 1.826 MB / 0.4992 GB, free: 7.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.08251, allocations: 19.88 kB / 0.4992 GB, free: 7.035 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007561/0.08327, allocations: 345.6 kB / 0.4995 GB, free: 6.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.08365, allocations: 281.8 kB / 0.4998 GB, free: 6.418 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.08406, allocations: 271.7 kB / 0.5 GB, free: 6.152 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.08495, allocations: 1.15 MB / 0.5012 GB, free: 5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.08531, allocations: 274.9 kB / 0.5014 GB, free: 4.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.08577, allocations: 450.3 kB / 0.5019 GB, free: 4.273 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.08609, allocations: 410 kB / 0.5022 GB, free: 3.867 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.482e-05/0.08619, allocations: 144 kB / 0.5024 GB, free: 3.727 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.08633, allocations: 152 kB / 0.5025 GB, free: 3.578 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.08644, allocations: 251.2 kB / 0.5028 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.08668, allocations: 426.2 kB / 0.5032 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.08784, allocations: 1.37 MB / 0.5045 GB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.08784, allocations: 0 / 0.5045 GB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.08785, allocations: 0 / 0.5045 GB, free: 1.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.08786, allocations: 0 / 0.5045 GB, free: 1.539 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001348/0.08921, allocations: 1.147 MB / 0.5056 GB, free: 368 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.08925, allocations: 12.03 kB / 0.5056 GB, free: 356 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.828e-05/0.08935, allocations: 102.7 kB / 0.5057 GB, free: 244 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.08954, allocations: 108.3 kB / 0.5058 GB, free: 136 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.09023, allocations: 0.5956 MB / 0.5064 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.09026, allocations: 49.69 kB / 0.5065 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.09032, allocations: 63.94 kB / 0.5065 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/0.09123, allocations: 0.9514 MB / 0.5075 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.09124, allocations: 3.938 kB / 0.5075 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.09128, allocations: 28 kB / 0.5075 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.0913, allocations: 16 kB / 0.5075 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.09201, allocations: 0.5479 MB / 0.508 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.09456, allocations: 2.41 MB / 0.5104 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.09519, allocations: 455.4 kB / 0.5108 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.09594, allocations: 365.2 kB / 0.5112 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.09597, allocations: 7.938 kB / 0.5112 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.09599, allocations: 38.56 kB / 0.5112 GB, free: 10.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 2.354e-06/0.09599, allocations: 0 / 0.5112 GB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001551/0.09754, allocations: 0.8726 MB / 0.5121 GB, free: 9.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.0976, allocations: 162.2 kB / 0.5122 GB, free: 9.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.09823, allocations: 0.6983 MB / 0.5129 GB, free: 8.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.09825, allocations: 33.7 kB / 0.5129 GB, free: 8.559 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.09845, allocations: 392.5 kB / 0.5133 GB, free: 8.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.09851, allocations: 130.9 kB / 0.5134 GB, free: 8.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.09861, allocations: 78.14 kB / 0.5135 GB, free: 7.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.09872, allocations: 366.8 kB / 0.5139 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.09894, allocations: 164.8 kB / 0.514 GB, free: 7.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.09923, allocations: 377.4 kB / 0.5144 GB, free: 7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.09967, allocations: 390.4 kB / 0.5148 GB, free: 6.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.09968, allocations: 4 kB / 0.5148 GB, free: 6.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008272/0.1005, allocations: 0.6469 MB / 0.5154 GB, free: 5.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1005, allocations: 4 kB / 0.5154 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1005, allocations: 7.984 kB / 0.5154 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.1009, allocations: 177.5 kB / 0.5156 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1011, allocations: 71.89 kB / 0.5156 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.1045, allocations: 4.008 MB / 0.5196 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.1047, allocations: 63.69 kB / 0.5196 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.1047, allocations: 16 kB / 0.5196 GB, free: 1.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (improvedChuaDiode.improvedNIC.opAmp.limiter.satNeg,improvedChuaDiode.improvedNIC.opAmp.limiter.satPos,improvedChuaDiode.improvedNIC1.opAmp.limiter.satNeg,improvedChuaDiode.improvedNIC1.opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.1049, allocations: 237.7 kB / 0.5199 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.105, allocations: 67.58 kB / 0.5199 GB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.1051, allocations: 77.84 kB / 0.52 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1051, allocations: 4 kB / 0.52 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1051, allocations: 3.938 kB / 0.52 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1051, allocations: 0 / 0.52 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.1065, allocations: 1.293 MB / 0.5213 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1065, allocations: 0 / 0.5213 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1066, allocations: 59.95 kB / 0.5213 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/0.1069, allocations: 169.6 kB / 0.5215 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.107, allocations: 12 kB / 0.5215 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/0.11, allocations: 4.031 MB / 0.5254 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.11, allocations: 0 / 0.5254 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.1107, allocations: 0.6497 MB / 0.5261 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.1108, allocations: 87.53 kB / 0.5262 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.1108, allocations: 16 kB / 0.5262 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1111, allocations: 51.94 kB / 0.5262 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.1111, allocations: 35.94 kB / 0.5263 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1112, allocations: 8.125 kB / 0.5263 GB, free: 10.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.1116, allocations: 494.8 kB / 0.5267 GB, free: 9.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1116, allocations: 4 kB / 0.5267 GB, free: 9.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005227/0.1121, allocations: 207.5 kB / 0.5269 GB, free: 9.539 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (improvedChuaDiode.improvedNIC1.opAmp.limiter.satPos,improvedChuaDiode.improvedNIC1.opAmp.limiter.satNeg,improvedChuaDiode.improvedNIC.opAmp.limiter.satPos,improvedChuaDiode.improvedNIC.opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009341/0.113, allocations: 1.205 MB / 0.5281 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.1138, allocations: 0.6612 MB / 0.5288 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1139, allocations: 4 kB / 0.5288 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.1142, allocations: 481 kB / 0.5292 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1146, allocations: 96.42 kB / 0.5293 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.1211, allocations: 6.114 MB / 0.5353 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.1213, allocations: 322.9 kB / 0.5356 GB, free: 436 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.1215, allocations: 68.73 kB / 0.5357 GB, free: 368 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.1218, allocations: 259.3 kB / 0.5359 GB, free: 108 kB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1218, allocations: 4 kB / 0.5359 GB, free: 104 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/0.3801, allocations: 16.97 MB / 0.5525 GB, free: 58.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.66, allocations: 2.156 kB / 0.5525 GB, free: 58.15 MB / 410.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.130336419679224]