Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.VanDerPol.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.001266/0.001266, 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.001184/0.001184, 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 1.003/1.003, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02467/0.02467, allocations: 7.113 MB / 266.3 MB, free: 6.254 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.VanDerPol.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.VanDerPol.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 393 MB, free: 3.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.249e-05, allocations: 5.094 kB / 393 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.VanDerPol.IdealCircuit): time 0.00448/0.004503, allocations: 4.961 MB / 398 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.006739, allocations: 1.262 MB / 399.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.007079, allocations: 19.94 kB / 399.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.00739, allocations: 174.3 kB / 399.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.007792, allocations: 277.4 kB / 399.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.008276, allocations: 271.5 kB / 400 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007319/0.009008, allocations: 1.141 MB / 401.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.009444, allocations: 359.1 kB / 401.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.01003, allocations: 0.6548 MB / 402.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.0104, allocations: 354.8 kB / 402.5 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.0105, allocations: 108 kB / 402.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.01065, allocations: 120 kB / 402.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.0108, allocations: 243.1 kB / 402.9 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.01106, allocations: 371.1 kB / 403.3 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.01219, allocations: 1.203 MB / 404.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.0122, allocations: 0 / 404.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0122, allocations: 0 / 404.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.01221, allocations: 0 / 404.5 MB, free: 7.664 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.001382/0.01359, allocations: 1.19 MB / 405.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.01363, allocations: 8.031 kB / 405.7 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.01375, allocations: 151.9 kB / 405.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.01394, allocations: 124.2 kB / 406 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.01443, allocations: 455.1 kB / 406.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.01446, allocations: 70.38 kB / 406.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.01454, allocations: 92.36 kB / 406.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.01556, allocations: 1.223 MB / 407.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.01558, allocations: 0 / 407.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.01563, allocations: 44 kB / 407.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.01564, allocations: 20 kB / 407.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.01639, allocations: 0.6168 MB / 408.5 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003208/0.01959, allocations: 2.939 MB / 411.4 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.02006, allocations: 371.9 kB / 411.8 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1566/0.1767, allocations: 210.8 kB / 412 MB, free: 30.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.1767, allocations: 4.828 kB / 412 MB, free: 30.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1767, allocations: 44.62 kB / 412 MB, free: 30.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 4.078e-06/0.1768, allocations: 0 / 412 MB, free: 30.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001027/0.1778, allocations: 0.5383 MB / 412.6 MB, free: 30.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1778, allocations: 160.7 kB / 412.7 MB, free: 30.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.1784, allocations: 0.5954 MB / 413.3 MB, free: 30.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1785, allocations: 39.14 kB / 413.4 MB, free: 30.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.1787, allocations: 495.9 kB / 413.8 MB, free: 29.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.133e-05/0.1788, allocations: 150.2 kB / 414 MB, free: 29.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1789, allocations: 133.9 kB / 414.1 MB, free: 29.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.179, allocations: 368.2 kB / 414.5 MB, free: 29.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.1792, allocations: 163.8 kB / 414.6 MB, free: 29.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.1795, allocations: 0.5172 MB / 415.2 MB, free: 28.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.18, allocations: 0.5695 MB / 415.7 MB, free: 28.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.1801, allocations: 3.406 kB / 415.7 MB, free: 28.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008278/0.1809, allocations: 0.676 MB / 416.4 MB, free: 27.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.1809, allocations: 11.62 kB / 416.4 MB, free: 27.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.1809, allocations: 7.562 kB / 416.4 MB, free: 27.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.1811, allocations: 53.92 kB / 416.5 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.1815, allocations: 161.8 kB / 416.6 MB, free: 27.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/0.1824, allocations: 1.583 MB / 418.2 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.1828, allocations: 106.7 kB / 418.3 MB, free: 26.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.1829, allocations: 33.19 kB / 418.4 MB, free: 26.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 8 (multiplier.limiter2.satNeg,multiplier.limiter2.satPos,multiplier.limiter1.satNeg,multiplier.limiter1.satPos,multiplier_x2.limiter2.satNeg,multiplier_x2.limiter2.satPos,multiplier_x2.limiter1.satNeg,multiplier_x2.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.1831, allocations: 228.1 kB / 418.6 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.1832, allocations: 73.58 kB / 418.6 MB, free: 26.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/0.1832, allocations: 66.8 kB / 418.7 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1833, allocations: 7.719 kB / 418.7 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.1833, allocations: 0 / 418.7 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1833, allocations: 3.75 kB / 418.7 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1844, allocations: 1.028 MB / 419.8 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1844, allocations: 0 / 419.8 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.1846, allocations: 88.77 kB / 419.8 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.1847, allocations: 43.23 kB / 419.9 MB, free: 25.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.1847, allocations: 13.19 kB / 419.9 MB, free: 25.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006934/0.1854, allocations: 1.564 MB / 421.5 MB, free: 23.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1854, allocations: 1.938 kB / 421.5 MB, free: 23.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.1861, allocations: 0.6643 MB / 422.1 MB, free: 23.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.1862, allocations: 80.02 kB / 422.2 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.1862, allocations: 7.438 kB / 422.2 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.1865, allocations: 65.2 kB / 422.3 MB, free: 23.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.1865, allocations: 40.31 kB / 422.3 MB, free: 23.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1866, allocations: 13.48 kB / 422.3 MB, free: 23.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003636/0.1869, allocations: 405.7 kB / 422.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1869, allocations: 5.203 kB / 422.7 MB, free: 23.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005762/0.1875, allocations: 221.8 kB / 422.9 MB, free: 23.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (c_z.v,c_x.v) * Number of discrete variables: 8 (multiplier_x2.limiter1.satPos,multiplier_x2.limiter1.satNeg,multiplier_x2.limiter2.satPos,multiplier_x2.limiter2.satNeg,multiplier.limiter1.satPos,multiplier.limiter1.satNeg,multiplier.limiter2.satPos,multiplier.limiter2.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): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007966/0.1883, allocations: 1.249 MB / 424.2 MB, free: 22.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007552/0.1891, allocations: 0.5242 MB / 424.7 MB, free: 22.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1891, allocations: 1.281 kB / 424.7 MB, free: 22.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.1893, allocations: 292.5 kB / 425 MB, free: 21.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1897, allocations: 102 kB / 425.1 MB, free: 21.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.1953, allocations: 5.672 MB / 430.8 MB, free: 18.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.1956, allocations: 345.3 kB / 431.1 MB, free: 18.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003011/0.1959, allocations: 85.64 kB / 431.2 MB, free: 18.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.1961, allocations: 295.9 kB / 431.5 MB, free: 18.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1961, allocations: 0 / 431.5 MB, free: 18.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08887/0.285, allocations: 15.02 MB / 446.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.843, allocations: 10.48 kB / 446.5 MB, free: 7.309 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit_fmu --startTime=0 --stopTime=0.2 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.333071201108396]