Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChaoticDiode.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.001279/0.001279, 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.0009602/0.0009602, allocations: 212.7 kB / 22.25 MB, free: 3.57 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.9773/0.9773, 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.03019/0.03019, allocations: 9.561 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.ChaoticDiode.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChaoticDiode.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_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.001102/0.001102, allocations: 75.89 kB / 448.6 MB, free: 37.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07441/0.07551, allocations: 55.78 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChaoticDiode.ImprovedCircuit): time 0.004007/0.07952, allocations: 4.689 MB / 0.4972 GB, free: 9.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.08131, allocations: 1.219 MB / 0.4983 GB, free: 7.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.08156, allocations: 23.88 kB / 0.4984 GB, free: 7.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.08183, allocations: 146.5 kB / 0.4985 GB, free: 7.738 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.08224, allocations: 265.8 kB / 0.4988 GB, free: 7.477 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.0827, allocations: 247.6 kB / 0.499 GB, free: 7.234 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.08333, allocations: 1.012 MB / 0.5 GB, free: 6.219 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.08368, allocations: 316.2 kB / 0.5003 GB, free: 5.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.08398, allocations: 394.6 kB / 0.5007 GB, free: 5.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.08427, allocations: 378 kB / 0.501 GB, free: 5.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.303e-05/0.08436, allocations: 96 kB / 0.5011 GB, free: 5.035 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-05/0.08444, allocations: 99.94 kB / 0.5012 GB, free: 4.938 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.08455, allocations: 215.2 kB / 0.5014 GB, free: 4.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.08476, allocations: 398.2 kB / 0.5018 GB, free: 4.336 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.08538, allocations: 1.043 MB / 0.5028 GB, free: 3.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.08538, allocations: 0 / 0.5028 GB, free: 3.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.08538, allocations: 0 / 0.5028 GB, free: 3.285 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.0854, allocations: 4 kB / 0.5028 GB, free: 3.281 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001355/0.08675, allocations: 1.097 MB / 0.5039 GB, free: 2.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.08678, allocations: 8.031 kB / 0.5039 GB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.08689, allocations: 135.4 kB / 0.504 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.08699, allocations: 108.3 kB / 0.5041 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.08747, allocations: 439.9 kB / 0.5046 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.08751, allocations: 65.88 kB / 0.5046 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.08758, allocations: 84 kB / 0.5047 GB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.08869, allocations: 1.309 MB / 0.506 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.08871, allocations: 0 / 0.506 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.08876, allocations: 36 kB / 0.506 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.08877, allocations: 24 kB / 0.506 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.08961, allocations: 0.5816 MB / 0.5066 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.09275, allocations: 2.705 MB / 0.5092 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.09335, allocations: 409.9 kB / 0.5096 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.09368, allocations: 253.9 kB / 0.5099 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.09371, allocations: 12.42 kB / 0.5099 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.09373, allocations: 43 kB / 0.5099 GB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 1.743e-06/0.09373, allocations: 0 / 0.5099 GB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003174/0.09691, allocations: 1.306 MB / 0.5112 GB, free: 10.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.09702, allocations: 342.6 kB / 0.5115 GB, free: 9.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.09746, allocations: 0.4898 MB / 0.512 GB, free: 9.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.0975, allocations: 37.7 kB / 0.512 GB, free: 9.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.0977, allocations: 419.9 kB / 0.5124 GB, free: 8.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.09793, allocations: 190.4 kB / 0.5126 GB, free: 8.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.09808, allocations: 134.6 kB / 0.5128 GB, free: 8.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.09819, allocations: 358.8 kB / 0.5131 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.09846, allocations: 173.9 kB / 0.5133 GB, free: 8.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.09893, allocations: 0.6881 MB / 0.5139 GB, free: 7.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.09954, allocations: 0.5175 MB / 0.5144 GB, free: 6.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.09954, allocations: 0 / 0.5144 GB, free: 6.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001662/0.1012, allocations: 0.9412 MB / 0.5154 GB, free: 5.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1012, allocations: 8 kB / 0.5154 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1012, allocations: 4 kB / 0.5154 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007784/0.102, allocations: 303.3 kB / 0.5157 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.1024, allocations: 147.8 kB / 0.5158 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006427/0.1088, allocations: 6.865 MB / 0.5225 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.1092, allocations: 111.4 kB / 0.5226 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.1092, allocations: 36.05 kB / 0.5226 GB, free: 13.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (opAmp4.limiter.satNeg,opAmp4.limiter.satPos,opAmp3.limiter.satNeg,opAmp3.limiter.satPos,opAmp2.limiter.satNeg,opAmp2.limiter.satPos,opAmp1.limiter.satNeg,opAmp1.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,7), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.1094, allocations: 217.5 kB / 0.5229 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.1095, allocations: 63.61 kB / 0.5229 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.1096, allocations: 65.5 kB / 0.523 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1096, allocations: 8.188 kB / 0.523 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1096, allocations: 0 / 0.523 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1096, allocations: 3.984 kB / 0.523 GB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.1117, allocations: 1.41 MB / 0.5244 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.1118, allocations: 3.938 kB / 0.5244 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.112, allocations: 79.89 kB / 0.5244 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007021/0.1127, allocations: 295.1 kB / 0.5247 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.1127, allocations: 12 kB / 0.5247 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006094/0.1188, allocations: 6.866 MB / 0.5314 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1188, allocations: 0 / 0.5314 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.1205, allocations: 1.061 MB / 0.5325 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.1206, allocations: 59.58 kB / 0.5325 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.1206, allocations: 16 kB / 0.5325 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.121, allocations: 75.92 kB / 0.5326 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.121, allocations: 48.34 kB / 0.5327 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.1211, allocations: 12 kB / 0.5327 GB, free: 2.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003028/0.1214, allocations: 335.1 kB / 0.533 GB, free: 2.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1214, allocations: 0 / 0.533 GB, free: 2.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008156/0.1222, allocations: 255.5 kB / 0.5332 GB, free: 2.254 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (c1.v,c2.v,c3.v) * Number of discrete variables: 8 (opAmp1.limiter.satPos,opAmp1.limiter.satNeg,opAmp2.limiter.satPos,opAmp2.limiter.satNeg,opAmp3.limiter.satPos,opAmp3.limiter.satNeg,opAmp4.limiter.satPos,opAmp4.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * 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: 4 * 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): 4 systems {(1,2), (1,7), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001961/0.1242, allocations: 1.632 MB / 0.5348 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.1254, allocations: 0.9956 MB / 0.5358 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1254, allocations: 7.938 kB / 0.5358 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.1262, allocations: 0.763 MB / 0.5366 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.1266, allocations: 111.5 kB / 0.5367 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007573/0.1342, allocations: 5.923 MB / 0.5425 GB, free: 8.434 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1345, allocations: 335.9 kB / 0.5428 GB, free: 8.074 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000176/0.1347, allocations: 64.92 kB / 0.5428 GB, free: 8.008 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.1349, allocations: 263.3 kB / 0.5431 GB, free: 7.754 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1349, allocations: 0 / 0.5431 GB, free: 7.754 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3001/0.435, allocations: 17.1 MB / 0.5598 GB, free: 55.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.728, allocations: 2 kB / 0.5598 GB, free: 55.44 MB / 410.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChaoticDiode_ImprovedCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticDiode_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit_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_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.ImprovedCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.546317853964865]