Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChaoticDiode.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.001159/0.001159, 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.0016/0.0016, allocations: 165.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.9578/0.9578, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.02623/0.02623, allocations: 7.117 MB / 266.3 MB, free: 6.234 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.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChaoticDiode.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 393 MB, free: 3.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.099e-05, allocations: 2.281 kB / 393 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChaoticDiode.IdealCircuit): time 0.004526/0.004557, allocations: 3.114 MB / 396.1 MB, free: 92 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.006846, allocations: 0.7789 MB / 396.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.007149, allocations: 11.94 kB / 396.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.007377, allocations: 91.14 kB / 397 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.007741, allocations: 146.6 kB / 397.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.008096, allocations: 123.8 kB / 397.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.008717, allocations: 0.5603 MB / 397.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.009044, allocations: 165.7 kB / 398 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.009473, allocations: 311.3 kB / 398.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.009756, allocations: 167.5 kB / 398.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/0.009836, allocations: 48 kB / 398.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.596e-05/0.009912, allocations: 51.94 kB / 398.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.01, allocations: 111.6 kB / 398.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.0102, allocations: 183.5 kB / 398.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.01079, allocations: 0.5529 MB / 399.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.0108, allocations: 0 / 399.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.0108, allocations: 4 kB / 399.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.01081, allocations: 0 / 399.4 MB, free: 12.79 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001187/0.012, allocations: 0.6806 MB / 400.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.01205, allocations: 8.031 kB / 400.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.01215, allocations: 86.7 kB / 400.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.01226, allocations: 60.55 kB / 400.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.01279, allocations: 268.8 kB / 400.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.01282, allocations: 29.38 kB / 400.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.01289, allocations: 48.38 kB / 400.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/0.01368, allocations: 0.5852 MB / 401.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01369, allocations: 0 / 401.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.01374, allocations: 24 kB / 401.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.01375, allocations: 11.94 kB / 401.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.0143, allocations: 295.7 kB / 401.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/0.01679, allocations: 1.65 MB / 403.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.01715, allocations: 178.6 kB / 403.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.0176, allocations: 96.83 kB / 403.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.01762, allocations: 4 kB / 403.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.01766, allocations: 34.56 kB / 403.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.01766, allocations: 4 kB / 403.4 MB, free: 8.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004993/0.01816, allocations: 255.7 kB / 403.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.0182, allocations: 55.41 kB / 403.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.01857, allocations: 328.3 kB / 404.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.0186, allocations: 33.7 kB / 404.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.01876, allocations: 260.2 kB / 404.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.01883, allocations: 91.22 kB / 404.4 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.01894, allocations: 78.14 kB / 404.5 MB, free: 7.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01906, allocations: 342.8 kB / 404.8 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.01922, allocations: 84.97 kB / 404.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01946, allocations: 215.7 kB / 405.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.01987, allocations: 304.7 kB / 405.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.01987, allocations: 0 / 405.4 MB, free: 6.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005731/0.02044, allocations: 363.1 kB / 405.8 MB, free: 5.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.02047, allocations: 4 kB / 405.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.02048, allocations: 4 kB / 405.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.02049, allocations: 8 kB / 405.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.02093, allocations: 119.8 kB / 405.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.02094, allocations: 4 kB / 405.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.02117, allocations: 44.02 kB / 406 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.0212, allocations: 19.94 kB / 406 MB, free: 5.781 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001644/0.02137, allocations: 165.6 kB / 406.2 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.02143, allocations: 31.81 kB / 406.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.0218, allocations: 212 kB / 406.4 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.0218, allocations: 4 kB / 406.4 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.02181, allocations: 0 / 406.4 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.02181, allocations: 7.922 kB / 406.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.02226, allocations: 340.4 kB / 406.7 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02226, allocations: 3.938 kB / 406.7 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.02256, allocations: 75.89 kB / 406.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.02256, allocations: 3.984 kB / 406.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.02258, allocations: 4 kB / 406.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.02258, allocations: 4 kB / 406.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02259, allocations: 0 / 406.8 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.02312, allocations: 392.4 kB / 407.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.02318, allocations: 31.78 kB / 407.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.02322, allocations: 8 kB / 407.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.02346, allocations: 27.98 kB / 407.3 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.0235, allocations: 15.97 kB / 407.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.02352, allocations: 8 kB / 407.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002544/0.02377, allocations: 219.1 kB / 407.5 MB, free: 4.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02377, allocations: 0 / 407.5 MB, free: 4.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004794/0.02425, allocations: 119.7 kB / 407.6 MB, free: 4.062 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (c1.v,c2.v,c3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0007939/0.02505, allocations: 0.9157 MB / 408.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.02541, allocations: 212 kB / 408.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.02542, allocations: 0 / 408.7 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.02553, allocations: 79.86 kB / 408.8 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.02602, allocations: 57.61 kB / 408.9 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1808/0.2069, allocations: 3.268 MB / 412.2 MB, free: 29.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.207, allocations: 197.1 kB / 412.3 MB, free: 29.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.2072, allocations: 38.84 kB / 412.4 MB, free: 29.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2073, allocations: 124.2 kB / 412.5 MB, free: 29.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2073, allocations: 0 / 412.5 MB, free: 29.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08676/0.2941, allocations: 7.768 MB / 420.3 MB, free: 27.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.486, allocations: 4.391 kB / 420.3 MB, free: 27.61 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChaoticDiode_IdealCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticDiode_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_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_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.18250805605203]