Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.LorenzSystem.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.001265/0.001265, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001615/0.001615, allocations: 216.1 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 1.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.602 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.04251/0.04251, allocations: 9.539 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.LorenzSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LorenzSystem_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.LorenzSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LorenzSystem_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.001011/0.001011, allocations: 71.89 kB / 448.6 MB, free: 37.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07935, allocations: 55.78 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.LorenzSystem.IdealCircuit): time 0.005023/0.08437, allocations: 5.556 MB / 0.498 GB, free: 8.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.08685, allocations: 1.386 MB / 0.4994 GB, free: 6.859 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004972/0.08734, allocations: 27.88 kB / 0.4994 GB, free: 6.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.08772, allocations: 190.1 kB / 0.4996 GB, free: 6.645 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.08826, allocations: 321.2 kB / 0.4999 GB, free: 6.328 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.0888, allocations: 303.5 kB / 0.5002 GB, free: 6.031 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.09004, allocations: 1.305 MB / 0.5014 GB, free: 4.723 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.09052, allocations: 419.7 kB / 0.5018 GB, free: 4.289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.09092, allocations: 0.4983 MB / 0.5023 GB, free: 3.785 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.09145, allocations: 493.5 kB / 0.5028 GB, free: 3.301 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.09157, allocations: 128 kB / 0.5029 GB, free: 3.176 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.0917, allocations: 132 kB / 0.5031 GB, free: 3.047 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.09186, allocations: 275 kB / 0.5033 GB, free: 2.777 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.09217, allocations: 0.5056 MB / 0.5038 GB, free: 2.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009409/0.09312, allocations: 1.385 MB / 0.5052 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.09312, allocations: 0 / 0.5052 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09312, allocations: 0 / 0.5052 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.09314, allocations: 0 / 0.5052 GB, free: 0.8789 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.001615/0.09476, allocations: 1.37 MB / 0.5065 GB, free: 15.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.0948, allocations: 8.031 kB / 0.5065 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.09495, allocations: 165 kB / 0.5067 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.09509, allocations: 132.2 kB / 0.5068 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009811/0.09607, allocations: 0.4995 MB / 0.5073 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.09612, allocations: 82.55 kB / 0.5074 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/0.09621, allocations: 111.9 kB / 0.5075 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.09747, allocations: 1.473 MB / 0.5089 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.09749, allocations: 3.938 kB / 0.5089 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.09754, allocations: 48 kB / 0.509 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.09756, allocations: 28 kB / 0.509 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.09838, allocations: 0.7147 MB / 0.5097 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.1019, allocations: 3.534 MB / 0.5131 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.1026, allocations: 474.8 kB / 0.5136 GB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1029, allocations: 224.3 kB / 0.5138 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.1029, allocations: 12.42 kB / 0.5138 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1029, allocations: 51.06 kB / 0.5139 GB, free: 7.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=56): time 2.585e-06/0.1029, allocations: 0 / 0.5139 GB, free: 7.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.000964/0.1039, allocations: 0.567 MB / 0.5144 GB, free: 6.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.104, allocations: 162.7 kB / 0.5146 GB, free: 6.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.1045, allocations: 0.6717 MB / 0.5152 GB, free: 6.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1045, allocations: 41.7 kB / 0.5153 GB, free: 6.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.1048, allocations: 0.554 MB / 0.5158 GB, free: 5.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1049, allocations: 194.4 kB / 0.516 GB, free: 5.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.1051, allocations: 162.6 kB / 0.5161 GB, free: 5.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1052, allocations: 374.8 kB / 0.5165 GB, free: 4.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1054, allocations: 201.9 kB / 0.5167 GB, free: 4.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.1058, allocations: 0.6065 MB / 0.5173 GB, free: 3.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.1064, allocations: 0.714 MB / 0.518 GB, free: 2.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1064, allocations: 0 / 0.518 GB, free: 2.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0007817/0.1072, allocations: 0.79 MB / 0.5188 GB, free: 2.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1072, allocations: 8.188 kB / 0.5188 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1072, allocations: 15.94 kB / 0.5188 GB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.1072, allocations: 16 kB / 0.5188 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.1077, allocations: 215.8 kB / 0.519 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.1077, allocations: 19.88 kB / 0.519 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.1081, allocations: 131.1 kB / 0.5191 GB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.1081, allocations: 44 kB / 0.5192 GB, free: 1.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 (multiplier_xy.limiter2.satNeg,multiplier_xy.limiter2.satPos,multiplier_xy.limiter1.satNeg,multiplier_xy.limiter1.satPos,multiplier_xz.limiter2.satNeg,multiplier_xz.limiter2.satPos,multiplier_xz.limiter1.satNeg,multiplier_xz.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.000268/0.1084, allocations: 246.3 kB / 0.5194 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.1084, allocations: 83.48 kB / 0.5195 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.1085, allocations: 79.02 kB / 0.5196 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1085, allocations: 8 kB / 0.5196 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1085, allocations: 0 / 0.5196 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1085, allocations: 3.984 kB / 0.5196 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.1091, allocations: 0.6334 MB / 0.5202 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1091, allocations: 4.047 kB / 0.5202 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.1094, allocations: 131.8 kB / 0.5203 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1094, allocations: 4 kB / 0.5203 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1094, allocations: 15.94 kB / 0.5203 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1094, allocations: 0 / 0.5203 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1094, allocations: 0 / 0.5203 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.1104, allocations: 0.7465 MB / 0.5211 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.1106, allocations: 115.3 kB / 0.5212 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.1106, allocations: 15.94 kB / 0.5212 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.1109, allocations: 79.92 kB / 0.5213 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.1109, allocations: 40.42 kB / 0.5213 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.111, allocations: 24 kB / 0.5213 GB, free: 15.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003439/0.1113, allocations: 454.9 kB / 0.5218 GB, free: 14.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1113, allocations: 0 / 0.5218 GB, free: 14.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.1118, allocations: 263.3 kB / 0.522 GB, free: 14.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (c_x.v,c_y.v,c_z.v) * Number of discrete variables: 8 (multiplier_xz.limiter1.satPos,multiplier_xz.limiter1.satNeg,multiplier_xz.limiter2.satPos,multiplier_xz.limiter2.satNeg,multiplier_xy.limiter1.satPos,multiplier_xy.limiter1.satNeg,multiplier_xy.limiter2.satPos,multiplier_xy.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0009338/0.1128, allocations: 1.307 MB / 0.5233 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.1134, allocations: 0.496 MB / 0.5238 GB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1134, allocations: 0 / 0.5238 GB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.1136, allocations: 198.8 kB / 0.524 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.114, allocations: 132.3 kB / 0.5241 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00603/0.12, allocations: 6.372 MB / 0.5303 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1203, allocations: 396.6 kB / 0.5307 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003767/0.1207, allocations: 110.1 kB / 0.5308 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.121, allocations: 343.3 kB / 0.5311 GB, free: 4.961 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.121, allocations: 0 / 0.5311 GB, free: 4.961 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/0.2316, allocations: 16.99 MB / 0.5477 GB, free: 4.266 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.515, allocations: 7.062 kB / 0.5477 GB, free: 4.262 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_LorenzSystem_IdealCircuit_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_LorenzSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../ChaoticCircuits_ChaoticCircuits_LorenzSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.LorenzSystem.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.336207100190222]