Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.JerkCircuit.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.001207/0.001207, allocations: 105.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.0009292/0.0009292, allocations: 215.7 kB / 22.25 MB, free: 3.566 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.9838/0.9838, 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.04453/0.04453, allocations: 9.543 MB / 322 MB, free: 8.48 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.JerkCircuit.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_JerkCircuit_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.JerkCircuit.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_JerkCircuit_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.0009398/0.0009398, allocations: 67.91 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07582/0.07676, allocations: 55.78 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.JerkCircuit.ImprovedCircuit): time 0.004187/0.08095, allocations: 4.657 MB / 0.4971 GB, free: 9.156 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.08228, allocations: 1.196 MB / 0.4983 GB, free: 7.957 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.0825, allocations: 23.88 kB / 0.4983 GB, free: 7.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.08274, allocations: 142.5 kB / 0.4984 GB, free: 7.793 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.08312, allocations: 265.8 kB / 0.4987 GB, free: 7.531 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.08338, allocations: 243.6 kB / 0.4989 GB, free: 7.293 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.08397, allocations: 0.9927 MB / 0.4999 GB, free: 6.297 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005924/0.08456, allocations: 316.1 kB / 0.5002 GB, free: 5.965 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.08479, allocations: 382.6 kB / 0.5006 GB, free: 5.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.08506, allocations: 378.1 kB / 0.5009 GB, free: 5.219 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.068e-05/0.08514, allocations: 96 kB / 0.501 GB, free: 5.125 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.08523, allocations: 96 kB / 0.5011 GB, free: 5.031 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.08533, allocations: 203.2 kB / 0.5013 GB, free: 4.832 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.08553, allocations: 382.3 kB / 0.5017 GB, free: 4.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.08615, allocations: 1.035 MB / 0.5027 GB, free: 3.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.08616, allocations: 0 / 0.5027 GB, free: 3.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.08616, allocations: 0 / 0.5027 GB, free: 3.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.08617, allocations: 0 / 0.5027 GB, free: 3.414 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001138/0.08731, allocations: 1.086 MB / 0.5037 GB, free: 2.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.08734, allocations: 8.031 kB / 0.5037 GB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.08745, allocations: 131.3 kB / 0.5039 GB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.598e-05/0.08755, allocations: 104.3 kB / 0.504 GB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.08802, allocations: 432 kB / 0.5044 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.08805, allocations: 61.94 kB / 0.5044 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.08813, allocations: 80 kB / 0.5045 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.08913, allocations: 1.282 MB / 0.5058 GB, free: 24 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.08914, allocations: 0 / 0.5058 GB, free: 24 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.0892, allocations: 36.08 kB / 0.5058 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.08921, allocations: 23.94 kB / 0.5058 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.08993, allocations: 0.5778 MB / 0.5064 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.0927, allocations: 2.525 MB / 0.5089 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.0934, allocations: 469.1 kB / 0.5093 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.0937, allocations: 242.8 kB / 0.5095 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.09374, allocations: 8.438 kB / 0.5095 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.09377, allocations: 43 kB / 0.5096 GB, free: 11.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.894e-06/0.09377, allocations: 0 / 0.5096 GB, free: 11.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.002233/0.09601, allocations: 1.174 MB / 0.5107 GB, free: 10.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.09612, allocations: 350.6 kB / 0.5111 GB, free: 10.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.09648, allocations: 465.7 kB / 0.5115 GB, free: 9.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.09651, allocations: 37.7 kB / 0.5115 GB, free: 9.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.0967, allocations: 412 kB / 0.5119 GB, free: 9.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.09679, allocations: 170.5 kB / 0.5121 GB, free: 9.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.09691, allocations: 122.3 kB / 0.5122 GB, free: 9.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.09701, allocations: 358.8 kB / 0.5126 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.09723, allocations: 169.2 kB / 0.5127 GB, free: 8.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.09765, allocations: 0.6547 MB / 0.5134 GB, free: 7.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/0.09846, allocations: 476 kB / 0.5138 GB, free: 7.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.09847, allocations: 0 / 0.5138 GB, free: 7.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001281/0.09975, allocations: 0.8955 MB / 0.5147 GB, free: 6.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.09977, allocations: 10.19 kB / 0.5147 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.09977, allocations: 8.156 kB / 0.5147 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.1004, allocations: 303.9 kB / 0.515 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1006, allocations: 119.8 kB / 0.5151 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.1071, allocations: 7.659 MB / 0.5226 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.1075, allocations: 115.4 kB / 0.5227 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.1075, allocations: 24 kB / 0.5227 GB, free: 13.54 MB / 394.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: 8 (opAmp_y.limiter.satNeg,opAmp_y.limiter.satPos,opAmp_x.limiter.satNeg,opAmp_x.limiter.satPos,opAmp_invy.limiter.satNeg,opAmp_invy.limiter.satPos,opAmp_z.limiter.satNeg,opAmp_z.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,2), (1,1), (1,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.1077, allocations: 209.7 kB / 0.5229 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.1078, allocations: 59.61 kB / 0.523 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.012e-05/0.1079, allocations: 65.3 kB / 0.523 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1079, allocations: 8 kB / 0.5231 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1079, allocations: 0 / 0.5231 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1079, allocations: 3.984 kB / 0.5231 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.11, allocations: 1.376 MB / 0.5244 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.11, allocations: 0 / 0.5244 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.1102, allocations: 75.84 kB / 0.5245 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007001/0.1109, allocations: 296 kB / 0.5248 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.1109, allocations: 19.92 kB / 0.5248 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006062/0.117, allocations: 7.651 MB / 0.5322 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-06/0.117, allocations: 12.09 kB / 0.5323 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.1187, allocations: 1.023 MB / 0.5333 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.1188, allocations: 71.47 kB / 0.5333 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.1188, allocations: 8 kB / 0.5333 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.1191, allocations: 71.94 kB / 0.5334 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1192, allocations: 48.34 kB / 0.5334 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.1193, allocations: 19.98 kB / 0.5335 GB, free: 1.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.1195, allocations: 311.1 kB / 0.5338 GB, free: 1.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1195, allocations: 4 kB / 0.5338 GB, free: 1.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006052/0.1201, allocations: 243.5 kB / 0.534 GB, free: 1.262 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (c_z.v,c_y.v,c_x.v) * Number of discrete variables: 8 (opAmp_z.limiter.satPos,opAmp_z.limiter.satNeg,opAmp_invy.limiter.satPos,opAmp_invy.limiter.satNeg,opAmp_x.limiter.satPos,opAmp_x.limiter.satNeg,opAmp_y.limiter.satPos,opAmp_y.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,2), (1,1), (1,5), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/0.1223, allocations: 1.599 MB / 0.5356 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1233, allocations: 1.027 MB / 0.5366 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1233, allocations: 0 / 0.5366 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.1239, allocations: 0.8083 MB / 0.5373 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.1244, allocations: 108.2 kB / 0.5375 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/0.1316, allocations: 5.61 MB / 0.5429 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1318, allocations: 326.9 kB / 0.5432 GB, free: 7.379 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.132, allocations: 60.7 kB / 0.5433 GB, free: 7.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.1322, allocations: 255.3 kB / 0.5435 GB, free: 7.066 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1322, allocations: 0 / 0.5435 GB, free: 7.066 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/0.4476, allocations: 16.86 MB / 0.56 GB, free: 53.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.597, allocations: 7.531 kB / 0.56 GB, free: 53.98 MB / 410.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_JerkCircuit_ImprovedCircuit_fmu --startTime=0 --stopTime=1 --stepSize=1.00001e-05 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_JerkCircuit_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.00001e-05 ../ChaoticCircuits_ChaoticCircuits_JerkCircuit_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.JerkCircuit.ImprovedCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.823070007376373]