Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChuasCircuit.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.0007941/0.0007941, 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.0008273/0.0008273, 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.9298/0.9298, 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.02613/0.02613, allocations: 7.123 MB / 266.3 MB, free: 6.242 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.ChuasCircuit.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChuasCircuit.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 393 MB, free: 3.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.467e-05, allocations: 2.281 kB / 393 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChuasCircuit.IdealCircuit): time 0.002536/0.002551, allocations: 2.793 MB / 395.8 MB, free: 436 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003863, allocations: 1.207 MB / 397 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.003997, allocations: 4 kB / 397 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.004513, allocations: 250.5 kB / 397.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.004671, allocations: 131 kB / 397.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.00479, allocations: 79.83 kB / 397.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.005133, allocations: 461.9 kB / 397.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.005293, allocations: 87.34 kB / 398 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.005494, allocations: 251.4 kB / 398.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.005644, allocations: 147.6 kB / 398.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.005684, allocations: 44 kB / 398.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.005723, allocations: 44 kB / 398.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.005773, allocations: 91.67 kB / 398.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.005867, allocations: 139.7 kB / 398.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.006189, allocations: 466.5 kB / 399.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006192, allocations: 8 kB / 399.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006193, allocations: 0 / 399.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006197, allocations: 0 / 399.1 MB, free: 13.05 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007412/0.006938, allocations: 0.5945 MB / 399.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.006974, allocations: 12.03 kB / 399.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.007024, allocations: 58.73 kB / 399.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.007075, allocations: 40.64 kB / 399.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.007402, allocations: 288.5 kB / 400.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.007421, allocations: 20.86 kB / 400.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.007452, allocations: 20.38 kB / 400.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.00778, allocations: 303.8 kB / 400.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.007788, allocations: 0 / 400.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.007807, allocations: 12 kB / 400.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.007816, allocations: 4 kB / 400.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.008113, allocations: 213.9 kB / 400.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.009144, allocations: 0.9297 MB / 401.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.009519, allocations: 234.6 kB / 401.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.009726, allocations: 132.8 kB / 402 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.009737, allocations: 4 kB / 402 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.009759, allocations: 34.56 kB / 402 MB, free: 10.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.00976, allocations: 0 / 402 MB, free: 10.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004163/0.01018, allocations: 284.5 kB / 402.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.0102, allocations: 59.41 kB / 402.4 MB, free: 9.656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.01047, allocations: 332.2 kB / 402.7 MB, free: 9.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.01049, allocations: 33.7 kB / 402.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.01058, allocations: 192.2 kB / 402.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.01062, allocations: 59.48 kB / 403 MB, free: 9.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.01067, allocations: 37.7 kB / 403 MB, free: 8.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.01075, allocations: 342.8 kB / 403.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.01087, allocations: 75.95 kB / 403.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.01099, allocations: 96.67 kB / 403.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.01121, allocations: 169.6 kB / 403.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01121, allocations: 4 kB / 403.7 MB, free: 8.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002873/0.0115, allocations: 240.6 kB / 403.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01151, allocations: 7.438 kB / 403.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01151, allocations: 0 / 403.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.01153, allocations: 7.938 kB / 403.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.01166, allocations: 63.89 kB / 404 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01167, allocations: 0 / 404 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.01175, allocations: 23.91 kB / 404 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.01176, allocations: 12 kB / 404 MB, free: 7.953 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 (22): * Single equations (assignments): 22 * 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 9.435e-05/0.01186, allocations: 141.8 kB / 404.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.01189, allocations: 31.75 kB / 404.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.01192, allocations: 30.19 kB / 404.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01193, allocations: 3.938 kB / 404.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01193, allocations: 4 kB / 404.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01193, allocations: 3.984 kB / 404.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.01252, allocations: 0.599 MB / 404.8 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01252, allocations: 7.875 kB / 404.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.01266, allocations: 55.91 kB / 404.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01266, allocations: 0 / 404.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01267, allocations: 3.984 kB / 404.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01267, allocations: 4 kB / 404.9 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01267, allocations: 4 kB / 404.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.01309, allocations: 404.7 kB / 405.3 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.01313, allocations: 39.72 kB / 405.3 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.01316, allocations: 8 kB / 405.3 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01326, allocations: 15.98 kB / 405.4 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.0133, allocations: 19.97 kB / 405.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.01331, allocations: 8 kB / 405.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.0135, allocations: 251.1 kB / 405.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0135, allocations: 0 / 405.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.01372, allocations: 67.84 kB / 405.7 MB, free: 6.199 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inductor.i,capacitor1.v,capacitor2.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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005784/0.01429, allocations: 0.9308 MB / 406.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.01457, allocations: 164.7 kB / 406.8 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01457, allocations: 0 / 406.8 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.01469, allocations: 91.89 kB / 406.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.01493, allocations: 40.91 kB / 406.9 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.01824, allocations: 3.136 MB / 410.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.01837, allocations: 164.8 kB / 410.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.91e-05/0.01846, allocations: 22.28 kB / 410.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.0186, allocations: 104.4 kB / 410.3 MB, free: 1.418 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0186, allocations: 0 / 410.3 MB, free: 1.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2092/0.2278, allocations: 6.897 MB / 417.2 MB, free: 29.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.564, allocations: 13.78 kB / 417.2 MB, free: 29.62 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChuasCircuit_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChuasCircuit.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_ChuasCircuit_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ChuasCircuit.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.606533852405846]