Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.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.00116/0.00116, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001366/0.001366, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9402/0.9402, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.03126/0.03126, allocations: 7.113 MB / 266.3 MB, free: 6.246 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.ChaoticOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChaoticOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 393 MB, free: 3.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.281e-05, allocations: 4.953 kB / 393 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChaoticOscillator.ImprovedCircuit): time 0.004675/0.004698, allocations: 3.635 MB / 396.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.006755, allocations: 0.9076 MB / 397.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.007079, allocations: 11.94 kB / 397.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.007337, allocations: 87.14 kB / 397.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.007838, allocations: 190.3 kB / 397.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.008164, allocations: 147.8 kB / 398 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006925/0.008857, allocations: 0.6731 MB / 398.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.009179, allocations: 154.3 kB / 398.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.009651, allocations: 371.2 kB / 399.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.009949, allocations: 207.4 kB / 399.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.01004, allocations: 56 kB / 399.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.01013, allocations: 63.88 kB / 399.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.01024, allocations: 135.5 kB / 399.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.01045, allocations: 203.5 kB / 399.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.01114, allocations: 0.6269 MB / 400.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01114, allocations: 8 kB / 400.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01114, allocations: 0 / 400.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.01116, allocations: 0 / 400.5 MB, free: 11.72 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001443/0.0126, allocations: 0.7971 MB / 401.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.01265, allocations: 8.031 kB / 401.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.01276, allocations: 86.7 kB / 401.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.01287, allocations: 76.52 kB / 401.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.01344, allocations: 301.4 kB / 401.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.01348, allocations: 37.38 kB / 401.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.01355, allocations: 48.38 kB / 401.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.01441, allocations: 0.7688 MB / 402.6 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.01443, allocations: 0 / 402.6 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.01446, allocations: 24 kB / 402.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.01447, allocations: 12 kB / 402.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.01495, allocations: 363.7 kB / 403 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.01683, allocations: 1.545 MB / 404.5 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.01731, allocations: 302.5 kB / 404.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.01776, allocations: 320.6 kB / 405.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.01779, allocations: 4 kB / 405.1 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.01782, allocations: 42.56 kB / 405.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.01782, allocations: 0 / 405.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001761/0.01958, allocations: 0.8252 MB / 406 MB, free: 5.926 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.01965, allocations: 183.9 kB / 406.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.01997, allocations: 389.5 kB / 406.5 MB, free: 5.312 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.01999, allocations: 33.7 kB / 406.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.02012, allocations: 272.3 kB / 406.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.02018, allocations: 122.9 kB / 407 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.02027, allocations: 78.19 kB / 407 MB, free: 4.801 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.02037, allocations: 346.8 kB / 407.4 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.02054, allocations: 120.9 kB / 407.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.02079, allocations: 334.4 kB / 407.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.02114, allocations: 286.2 kB / 408.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02114, allocations: 0 / 408.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009207/0.02206, allocations: 0.5928 MB / 408.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.02208, allocations: 8 kB / 408.7 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02208, allocations: 4 kB / 408.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.02249, allocations: 169.5 kB / 408.9 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.02269, allocations: 87.88 kB / 409 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1459/0.1685, allocations: 3.568 MB / 412.5 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.1689, allocations: 61.41 kB / 412.6 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.1689, allocations: 10.73 kB / 412.6 MB, free: 28.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.limiter.satNeg,opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,8), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.1691, allocations: 169.9 kB / 412.8 MB, free: 28.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.1691, allocations: 43.77 kB / 412.8 MB, free: 28.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.1692, allocations: 46.7 kB / 412.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1692, allocations: 4.062 kB / 412.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1692, allocations: 0 / 412.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1692, allocations: 6 kB / 412.9 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1706, allocations: 1.024 MB / 413.9 MB, free: 28.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1706, allocations: 5.359 kB / 413.9 MB, free: 28.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1708, allocations: 55.67 kB / 413.9 MB, free: 28.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.1711, allocations: 165.3 kB / 414.1 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1711, allocations: 8.109 kB / 414.1 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.174, allocations: 3.554 MB / 417.7 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.174, allocations: 1.125 kB / 417.7 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.1753, allocations: 0.7563 MB / 418.4 MB, free: 25.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.1753, allocations: 44.94 kB / 418.5 MB, free: 25.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.1754, allocations: 7.531 kB / 418.5 MB, free: 25.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1756, allocations: 42.84 kB / 418.5 MB, free: 25.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.1757, allocations: 30.7 kB / 418.5 MB, free: 25.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1757, allocations: 16.23 kB / 418.6 MB, free: 25.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.176, allocations: 269.3 kB / 418.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.176, allocations: 0 / 418.8 MB, free: 24.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000581/0.1766, allocations: 163 kB / 419 MB, free: 24.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (capacitor.v,inductor.i,cs.v) * Number of discrete variables: 2 (opAmp.limiter.satPos,opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.178, allocations: 1.283 MB / 420.3 MB, free: 24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008007/0.1788, allocations: 0.5356 MB / 420.8 MB, free: 23.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1788, allocations: 2.812 kB / 420.8 MB, free: 23.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.1792, allocations: 409.9 kB / 421.2 MB, free: 23.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.1796, allocations: 75.41 kB / 421.3 MB, free: 23.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.1856, allocations: 4.268 MB / 425.5 MB, free: 20.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1858, allocations: 230.3 kB / 425.8 MB, free: 20.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.186, allocations: 38.3 kB / 425.8 MB, free: 20.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1862, allocations: 159.4 kB / 426 MB, free: 20.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1862, allocations: 0 / 426 MB, free: 20.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.3207, allocations: 11.7 MB / 437.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.455, allocations: 4.062 kB / 437.7 MB, free: 15.6 MB / 330.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticOscillator_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.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_ChaoticOscillator_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticOscillator.ImprovedCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.56807363126427]