Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChaoticDiode.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.001031/0.001031, 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.001343/0.001343, allocations: 221.8 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.9848/0.9848, 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.0367/0.0367, allocations: 9.539 MB / 322 MB, free: 8.477 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.ChaoticDiode.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChaoticDiode.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_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.000932/0.000932, allocations: 79.89 kB / 448.6 MB, free: 37.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07865, allocations: 55.77 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChaoticDiode.IdealCircuit): time 0.003254/0.0819, allocations: 3.112 MB / 0.4956 GB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.08321, allocations: 0.7789 MB / 0.4964 GB, free: 9.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.08337, allocations: 8 kB / 0.4964 GB, free: 9.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.08368, allocations: 87.14 kB / 0.4965 GB, free: 9.832 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.0839, allocations: 138.7 kB / 0.4966 GB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.08417, allocations: 115.8 kB / 0.4967 GB, free: 9.582 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.0846, allocations: 0.5412 MB / 0.4972 GB, free: 9.039 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.08484, allocations: 166 kB / 0.4974 GB, free: 8.875 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.08502, allocations: 211.2 kB / 0.4976 GB, free: 8.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.08522, allocations: 202.9 kB / 0.4978 GB, free: 8.469 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.08526, allocations: 48 kB / 0.4978 GB, free: 8.422 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/0.08531, allocations: 48 kB / 0.4979 GB, free: 8.375 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.08537, allocations: 103.7 kB / 0.498 GB, free: 8.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.0855, allocations: 219 kB / 0.4982 GB, free: 8.059 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.08588, allocations: 0.5485 MB / 0.4987 GB, free: 7.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.08588, allocations: 4 kB / 0.4987 GB, free: 7.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.08588, allocations: 0 / 0.4987 GB, free: 7.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.527e-06/0.08589, allocations: 0 / 0.4987 GB, free: 7.504 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.000826/0.08672, allocations: 0.6883 MB / 0.4994 GB, free: 6.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.08676, allocations: 8.031 kB / 0.4994 GB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.685e-05/0.08683, allocations: 86.7 kB / 0.4995 GB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.37e-05/0.08689, allocations: 56.61 kB / 0.4995 GB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.08723, allocations: 265.7 kB / 0.4998 GB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.08725, allocations: 33.38 kB / 0.4998 GB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.0873, allocations: 51.94 kB / 0.4999 GB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.08807, allocations: 0.5888 MB / 0.5005 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.08808, allocations: 0 / 0.5005 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.08811, allocations: 20 kB / 0.5005 GB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.08811, allocations: 8 kB / 0.5005 GB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.08845, allocations: 287.8 kB / 0.5008 GB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.08999, allocations: 1.66 MB / 0.5024 GB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.09023, allocations: 182.4 kB / 0.5025 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.09035, allocations: 100.8 kB / 0.5026 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.09036, allocations: 4 kB / 0.5026 GB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.09039, allocations: 34.56 kB / 0.5027 GB, free: 3.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.09039, allocations: 4 kB / 0.5027 GB, free: 3.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003423/0.09073, allocations: 248.8 kB / 0.5029 GB, free: 2.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.09076, allocations: 59.34 kB / 0.503 GB, free: 2.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.09099, allocations: 324.3 kB / 0.5033 GB, free: 2.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.09101, allocations: 33.7 kB / 0.5033 GB, free: 2.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.09114, allocations: 272.1 kB / 0.5036 GB, free: 2.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.09118, allocations: 99.14 kB / 0.5037 GB, free: 2.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.09126, allocations: 74.09 kB / 0.5037 GB, free: 2.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.09136, allocations: 346.8 kB / 0.5041 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.09146, allocations: 80.84 kB / 0.5042 GB, free: 1.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.09161, allocations: 199.2 kB / 0.5043 GB, free: 1.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.09186, allocations: 304 kB / 0.5046 GB, free: 1.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.09186, allocations: 0 / 0.5046 GB, free: 1.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003447/0.09221, allocations: 370.9 kB / 0.505 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.09222, allocations: 10.19 kB / 0.505 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.09223, allocations: 4 kB / 0.505 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.09225, allocations: 4 kB / 0.505 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.09252, allocations: 112.4 kB / 0.5051 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.09253, allocations: 15.88 kB / 0.5051 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.09264, allocations: 39.73 kB / 0.5052 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.09266, allocations: 20 kB / 0.5052 GB, free: 472 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (49): * Single equations (assignments): 49 * 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.0001076/0.09277, allocations: 153.7 kB / 0.5053 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.0928, allocations: 35.8 kB / 0.5054 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.09304, allocations: 216 kB / 0.5056 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.09304, allocations: 4 kB / 0.5056 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.09305, allocations: 3.938 kB / 0.5056 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.09305, allocations: 3.984 kB / 0.5056 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.09334, allocations: 340.5 kB / 0.5059 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.09334, allocations: 0 / 0.5059 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.09351, allocations: 67.91 kB / 0.506 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.09351, allocations: 0 / 0.506 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.09352, allocations: 11.92 kB / 0.506 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.09353, allocations: 4 kB / 0.506 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.09353, allocations: 3.938 kB / 0.506 GB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.09386, allocations: 375.7 kB / 0.5063 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.0939, allocations: 35.91 kB / 0.5064 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.09393, allocations: 11.94 kB / 0.5064 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.09405, allocations: 24.08 kB / 0.5064 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.09407, allocations: 23.89 kB / 0.5064 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.09408, allocations: 8 kB / 0.5064 GB, free: 15.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.09423, allocations: 219.1 kB / 0.5067 GB, free: 14.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.09423, allocations: 0 / 0.5067 GB, free: 14.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.09472, allocations: 119.7 kB / 0.5068 GB, free: 14.76 MB / 378.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,c3.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 (25): * Single equations (assignments): 25 * 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.0004902/0.09521, allocations: 0.9239 MB / 0.5077 GB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.09547, allocations: 208 kB / 0.5079 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.09547, allocations: 0 / 0.5079 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.09554, allocations: 75.92 kB / 0.5079 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.09584, allocations: 65.55 kB / 0.508 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.09846, allocations: 3.33 MB / 0.5113 GB, free: 9.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.09857, allocations: 199.1 kB / 0.5114 GB, free: 9.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.09867, allocations: 39.27 kB / 0.5115 GB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.09879, allocations: 123.4 kB / 0.5116 GB, free: 9.586 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.0988, allocations: 0 / 0.5116 GB, free: 9.586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09083/0.1896, allocations: 7.645 MB / 0.5191 GB, free: 2.117 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.172, allocations: 7.562 kB / 0.5191 GB, free: 2.113 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChaoticDiode_IdealCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticDiode_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChaoticDiode.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_ChaoticDiode_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.981576249934733]