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.001236/0.001236, 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.001076/0.001076, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9975/0.9975, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.03293/0.03293, allocations: 7.117 MB / 266.3 MB, free: 6.238 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 393 MB, free: 3.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.323e-05, allocations: 2.281 kB / 393 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChaoticDiode.ImprovedCircuit): time 0.008249/0.008272, allocations: 4.703 MB / 397.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.01364, allocations: 1.227 MB / 398.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.01414, allocations: 27.88 kB / 399 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.01446, allocations: 146.5 kB / 399.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.01506, allocations: 273.5 kB / 399.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.0155, allocations: 251.6 kB / 399.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.01877, allocations: 1.039 MB / 400.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/0.01937, allocations: 320.2 kB / 401 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.02012, allocations: 0.573 MB / 401.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.02061, allocations: 315 kB / 401.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.02076, allocations: 99.94 kB / 401.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.0209, allocations: 100 kB / 402 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.02107, allocations: 215.2 kB / 402.2 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.02139, allocations: 331.2 kB / 402.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.02256, allocations: 1.063 MB / 403.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.02256, allocations: 0 / 403.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.02256, allocations: 0 / 403.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.02258, allocations: 0 / 403.6 MB, free: 8.512 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002/0.02458, allocations: 1.093 MB / 404.7 MB, free: 7.383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000228/0.02481, allocations: 12.03 kB / 404.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/0.02506, allocations: 135.3 kB / 404.9 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.02521, allocations: 108.3 kB / 405 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.02589, allocations: 439.2 kB / 405.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.02593, allocations: 62.38 kB / 405.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.026, allocations: 80.38 kB / 405.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.02716, allocations: 1.307 MB / 406.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.02718, allocations: 3.984 kB / 406.9 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/0.02723, allocations: 36 kB / 406.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.02724, allocations: 20 kB / 406.9 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.02802, allocations: 0.5817 MB / 407.5 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.03118, allocations: 2.696 MB / 410.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.03174, allocations: 425.7 kB / 410.6 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.03203, allocations: 238.3 kB / 410.8 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.03207, allocations: 12.44 kB / 410.9 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.0321, allocations: 43.06 kB / 410.9 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 2.725e-06/0.0321, allocations: 0 / 410.9 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.1398/0.1719, allocations: 1.307 MB / 412.2 MB, free: 30.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.172, allocations: 351.4 kB / 412.5 MB, free: 29.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.1725, allocations: 490.9 kB / 413 MB, free: 29.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.1726, allocations: 40.23 kB / 413.1 MB, free: 29.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1727, allocations: 421.9 kB / 413.5 MB, free: 29.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/0.1728, allocations: 184.7 kB / 413.7 MB, free: 29.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.173, allocations: 134.5 kB / 413.8 MB, free: 29.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.173, allocations: 366.2 kB / 414.1 MB, free: 29.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.1733, allocations: 173.7 kB / 414.3 MB, free: 29.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.1736, allocations: 0.6875 MB / 415 MB, free: 28.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.1741, allocations: 0.513 MB / 415.5 MB, free: 28.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1741, allocations: 1.438 kB / 415.5 MB, free: 28.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001364/0.1755, allocations: 0.934 MB / 416.4 MB, free: 27.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1755, allocations: 8.078 kB / 416.5 MB, free: 27.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1755, allocations: 3.625 kB / 416.5 MB, free: 27.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006701/0.1762, allocations: 306.3 kB / 416.8 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1765, allocations: 145.6 kB / 416.9 MB, free: 27.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.181, allocations: 6.856 MB / 423.8 MB, free: 21.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.1813, allocations: 117.1 kB / 423.9 MB, free: 21.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.1814, allocations: 26.03 kB / 423.9 MB, free: 21.94 MB / 330.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.0001852/0.1816, allocations: 217.1 kB / 424.1 MB, free: 21.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.1816, allocations: 63.25 kB / 424.2 MB, free: 21.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.847e-05/0.1817, allocations: 70.73 kB / 424.2 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1817, allocations: 9.438 kB / 424.2 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1817, allocations: 5.938 kB / 424.3 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1817, allocations: 3.828 kB / 424.3 MB, free: 21.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.1835, allocations: 1.405 MB / 425.7 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1835, allocations: 0 / 425.7 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.1837, allocations: 78.3 kB / 425.7 MB, free: 21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/0.1842, allocations: 301.9 kB / 426 MB, free: 20.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.1843, allocations: 12.34 kB / 426 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.1885, allocations: 6.861 MB / 432.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1885, allocations: 2.297 kB / 432.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1899, allocations: 1.049 MB / 434 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.19, allocations: 60.89 kB / 434 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.19, allocations: 16.8 kB / 434 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.1902, allocations: 76 kB / 434.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1904, allocations: 54.48 kB / 434.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1904, allocations: 15.98 kB / 434.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.1906, allocations: 331.4 kB / 434.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1906, allocations: 0 / 434.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006078/0.1912, allocations: 255.5 kB / 434.8 MB, free: 14.34 MB / 330.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.001514/0.1928, allocations: 1.612 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009373/0.1937, allocations: 1 MB / 437.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1937, allocations: 1.844 kB / 437.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.1943, allocations: 0.7677 MB / 438.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1947, allocations: 121 kB / 438.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/0.2003, allocations: 5.88 MB / 444.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.2004, allocations: 335.9 kB / 444.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.2006, allocations: 64.94 kB / 444.5 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.2007, allocations: 264.4 kB / 444.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2007, allocations: 0 / 444.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.3032, allocations: 17.24 MB / 462 MB, free: 6.941 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/8.842, allocations: 14.56 kB / 462 MB, free: 6.93 MB / 346.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.57136352546513]