Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.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.0008699/0.0008699, 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.001023/0.001023, 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.9129/0.9129, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02576/0.02576, allocations: 7.118 MB / 266.3 MB, free: 6.25 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.RLD_Circuit.PhysicalModel,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.RLD_Circuit.PhysicalModel,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 393 MB, free: 3.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.624e-05, allocations: 5.234 kB / 393 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002569/0.002586, allocations: 2.492 MB / 395.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.00355, allocations: 0.7126 MB / 396.2 MB, free: 20 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.003653, allocations: 0 / 396.2 MB, free: 20 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.003895, allocations: 67.55 kB / 396.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.004058, allocations: 95.19 kB / 396.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.004232, allocations: 79.83 kB / 396.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.004502, allocations: 318.4 kB / 396.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004632, allocations: 53.03 kB / 396.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.004864, allocations: 179.5 kB / 397 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.004979, allocations: 103.7 kB / 397.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.005012, allocations: 28 kB / 397.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.016e-05/0.005072, allocations: 27.98 kB / 397.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.00511, allocations: 63.69 kB / 397.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.00518, allocations: 95.75 kB / 397.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.005433, allocations: 291.1 kB / 397.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005435, allocations: 0 / 397.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005435, allocations: 0 / 397.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.005441, allocations: 0 / 397.6 MB, free: 14.64 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006588/0.006099, allocations: 0.4974 MB / 398.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.006133, allocations: 11.97 kB / 398.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.006178, allocations: 54.73 kB / 398.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.006282, allocations: 44.67 kB / 398.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.006571, allocations: 213.2 kB / 398.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.006595, allocations: 16.88 kB / 398.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.006631, allocations: 20.38 kB / 398.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.007007, allocations: 229.8 kB / 398.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.007019, allocations: 3.953 kB / 398.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.007037, allocations: 8 kB / 398.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.007044, allocations: 4 kB / 398.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.007275, allocations: 161.9 kB / 398.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.008139, allocations: 0.6799 MB / 399.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.008402, allocations: 170.5 kB / 399.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.00856, allocations: 100.9 kB / 399.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.008574, allocations: 4 kB / 399.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.008596, allocations: 34.55 kB / 399.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.008598, allocations: 0 / 399.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.002341/0.01094, allocations: 1.002 MB / 400.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.01096, allocations: 51.41 kB / 400.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.01114, allocations: 245.7 kB / 401.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01116, allocations: 29.7 kB / 401.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.01123, allocations: 160.4 kB / 401.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.01127, allocations: 67.42 kB / 401.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.01132, allocations: 37.7 kB / 401.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.01141, allocations: 330.8 kB / 401.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.01155, allocations: 87.95 kB / 401.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.01169, allocations: 108.9 kB / 401.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.01196, allocations: 201.5 kB / 402.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01196, allocations: 0 / 402.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008834/0.01284, allocations: 429 kB / 402.5 MB, free: 9.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.01286, allocations: 8 kB / 402.5 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01286, allocations: 0 / 402.5 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/0.01357, allocations: 224.5 kB / 402.7 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.01368, allocations: 43.92 kB / 402.8 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.01578, allocations: 2.127 MB / 404.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01588, allocations: 19.95 kB / 404.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.0159, allocations: 8 kB / 404.9 MB, free: 6.887 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (17): * Single equations (assignments): 16 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/0.01599, allocations: 133.8 kB / 405.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.01602, allocations: 23.86 kB / 405.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.01689, allocations: 420.2 kB / 405.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01689, allocations: 0 / 405.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01689, allocations: 4 kB / 405.5 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.0169, allocations: 3.938 kB / 405.5 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.01806, allocations: 0.7637 MB / 406.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01806, allocations: 4 kB / 406.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.01816, allocations: 31.97 kB / 406.3 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/0.01878, allocations: 192.7 kB / 406.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.01879, allocations: 15.98 kB / 406.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.02055, allocations: 1.981 MB / 408.5 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02055, allocations: 4 kB / 408.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.02161, allocations: 0.591 MB / 409.1 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.02164, allocations: 27.88 kB / 409.1 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.02166, allocations: 4 kB / 409.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.02178, allocations: 19.92 kB / 409.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.02183, allocations: 20.03 kB / 409.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.02184, allocations: 11.98 kB / 409.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.02196, allocations: 173.2 kB / 409.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02196, allocations: 0 / 409.3 MB, free: 2.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00029/0.02225, allocations: 68 kB / 409.4 MB, free: 2.211 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inductor.i,capacitor.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 (14): * Single equations (assignments): 13 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.02345, allocations: 1.135 MB / 410.5 MB, free: 1.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004713/0.02392, allocations: 342.3 kB / 410.9 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02393, allocations: 4 kB / 410.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.02414, allocations: 234.7 kB / 411.1 MB, free: 460 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.02442, allocations: 44.62 kB / 411.1 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1265/0.151, allocations: 3.055 MB / 414.2 MB, free: 28.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.1511, allocations: 143.4 kB / 414.3 MB, free: 28.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.1511, allocations: 19.83 kB / 414.4 MB, free: 28.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.1512, allocations: 78.94 kB / 414.4 MB, free: 28.78 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1512, allocations: 2.656 kB / 414.4 MB, free: 28.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0813/0.2325, allocations: 8.748 MB / 423.2 MB, free: 26.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.759, allocations: 10.62 kB / 423.2 MB, free: 26.64 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel_fmu --startTime=0 --stopTime=0.002 --stepSize=1e-08 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel.fmu) > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy_res.csv --start-time 0 --stop-time 0.002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-08 ../ChaoticCircuits_ChaoticCircuits_RLD_Circuit_PhysicalModel.fmu) > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.715829166583717]