Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.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.0009994/0.0009994, allocations: 105.5 kB / 18.95 MB, free: 1.191 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.001379/0.001379, allocations: 220 kB / 22.25 MB, free: 3.582 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.9754/0.9754, allocations: 230.6 MB / 256 MB, free: 9.66 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.0276/0.0276, allocations: 9.556 MB / 322 MB, free: 8.5 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.ChuasCircuit.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChuasCircuit.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit",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.001552/0.001552, allocations: 75.89 kB / 448.6 MB, free: 37.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.08979, allocations: 55.78 MB / 0.4926 GB, free: 13.88 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasCircuit.IdealCircuit): time 0.003532/0.09332, allocations: 2.785 MB / 0.4953 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.09492, allocations: 1.203 MB / 0.4965 GB, free: 9.867 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.09507, allocations: 8 kB / 0.4965 GB, free: 9.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.0957, allocations: 250.8 kB / 0.4967 GB, free: 9.613 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.09588, allocations: 123 kB / 0.4968 GB, free: 9.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.09602, allocations: 79.84 kB / 0.4969 GB, free: 9.414 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.09643, allocations: 450.2 kB / 0.4973 GB, free: 8.973 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.09663, allocations: 87.34 kB / 0.4974 GB, free: 8.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.09692, allocations: 171.4 kB / 0.4976 GB, free: 8.719 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.09711, allocations: 167.2 kB / 0.4977 GB, free: 8.555 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.09715, allocations: 44 kB / 0.4978 GB, free: 8.512 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.448e-05/0.09721, allocations: 48 kB / 0.4978 GB, free: 8.465 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.258e-05/0.09727, allocations: 87.75 kB / 0.4979 GB, free: 8.379 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.09739, allocations: 159.2 kB / 0.4981 GB, free: 8.223 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.09778, allocations: 470.1 kB / 0.4985 GB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.09779, allocations: 0 / 0.4985 GB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.09779, allocations: 0 / 0.4985 GB, free: 7.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.09779, allocations: 0 / 0.4985 GB, free: 7.762 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008755/0.09867, allocations: 0.6023 MB / 0.4991 GB, free: 7.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.09871, allocations: 8.031 kB / 0.4991 GB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.09877, allocations: 58.73 kB / 0.4992 GB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.09883, allocations: 44.69 kB / 0.4992 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.09924, allocations: 289.3 kB / 0.4995 GB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.09926, allocations: 16.88 kB / 0.4995 GB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.0993, allocations: 27.94 kB / 0.4995 GB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.0997, allocations: 295.5 kB / 0.4998 GB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.09971, allocations: 4 kB / 0.4998 GB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.09974, allocations: 8 kB / 0.4998 GB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.09974, allocations: 8 kB / 0.4998 GB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.1001, allocations: 213.8 kB / 0.5 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1017, allocations: 0.9214 MB / 0.5009 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.1021, allocations: 230.6 kB / 0.5011 GB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.1024, allocations: 144.7 kB / 0.5013 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1024, allocations: 4 kB / 0.5013 GB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1024, allocations: 34.56 kB / 0.5013 GB, free: 4.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1024, allocations: 0 / 0.5013 GB, free: 4.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005244/0.1029, allocations: 279 kB / 0.5016 GB, free: 4.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.103, allocations: 55.41 kB / 0.5016 GB, free: 4.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.1033, allocations: 340.2 kB / 0.502 GB, free: 4.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1033, allocations: 29.7 kB / 0.502 GB, free: 3.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1034, allocations: 200.2 kB / 0.5022 GB, free: 3.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1035, allocations: 59.48 kB / 0.5022 GB, free: 3.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.1035, allocations: 37.7 kB / 0.5023 GB, free: 3.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.1036, allocations: 342.8 kB / 0.5026 GB, free: 3.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1038, allocations: 71.95 kB / 0.5027 GB, free: 3.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1039, allocations: 100.9 kB / 0.5028 GB, free: 3.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1042, allocations: 173.5 kB / 0.5029 GB, free: 2.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1042, allocations: 0 / 0.5029 GB, free: 2.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003714/0.1046, allocations: 248.5 kB / 0.5032 GB, free: 2.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1046, allocations: 7.938 kB / 0.5032 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1046, allocations: 4 kB / 0.5032 GB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1046, allocations: 4.031 kB / 0.5032 GB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1048, allocations: 51.97 kB / 0.5032 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1048, allocations: 0 / 0.5032 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.1049, allocations: 31.88 kB / 0.5033 GB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1049, allocations: 11.97 kB / 0.5033 GB, free: 2.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001133/0.105, allocations: 141.8 kB / 0.5034 GB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.1051, allocations: 35.75 kB / 0.5034 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.1051, allocations: 30.19 kB / 0.5035 GB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1051, allocations: 8 kB / 0.5035 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1051, allocations: 0 / 0.5035 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1051, allocations: 0 / 0.5035 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.1059, allocations: 0.6073 MB / 0.5041 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1059, allocations: 0 / 0.5041 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1061, allocations: 43.97 kB / 0.5041 GB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1061, allocations: 7.984 kB / 0.5041 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1061, allocations: 8 kB / 0.5041 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1061, allocations: 0 / 0.5041 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1061, allocations: 0 / 0.5041 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.1071, allocations: 405.3 kB / 0.5045 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.1072, allocations: 39.78 kB / 0.5046 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1072, allocations: 4 kB / 0.5046 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1073, allocations: 23.97 kB / 0.5046 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1074, allocations: 11.98 kB / 0.5046 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.1074, allocations: 4 kB / 0.5046 GB, free: 1.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.1076, allocations: 251.1 kB / 0.5048 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1076, allocations: 0 / 0.5048 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.1079, allocations: 71.84 kB / 0.5049 GB, free: 0.8945 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inductor.i,capacitor1.v,capacitor2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007112/0.1086, allocations: 0.9309 MB / 0.5058 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.109, allocations: 163.8 kB / 0.506 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.109, allocations: 4 kB / 0.506 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1091, allocations: 94.62 kB / 0.5061 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1094, allocations: 39.05 kB / 0.5061 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.1128, allocations: 3.184 MB / 0.5092 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.345e-05/0.1128, allocations: 164.8 kB / 0.5094 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.1129, allocations: 26.3 kB / 0.5094 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.113, allocations: 103.4 kB / 0.5095 GB, free: 12.06 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.113, allocations: 0 / 0.5095 GB, free: 12.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08233/0.1954, allocations: 6.772 MB / 0.5161 GB, free: 5.434 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.215, allocations: 2.344 kB / 0.5161 GB, free: 5.434 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_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_ChuasCircuit_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.476638229563832]