Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RoesslerSystem.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.0008227/0.0008227, 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.001505/0.001505, allocations: 166.3 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.8927/0.8927, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02477/0.02477, allocations: 7.12 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.RoesslerSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.RoesslerSystem.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 393 MB, free: 3.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.192e-05, allocations: 2.281 kB / 393 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RoesslerSystem.IdealCircuit): time 0.004353/0.004365, allocations: 5.224 MB / 398.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.006166, allocations: 1.285 MB / 399.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.006437, allocations: 23.88 kB / 399.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.006699, allocations: 170.3 kB / 399.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.007045, allocations: 309.1 kB / 400 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.007445, allocations: 259.6 kB / 400.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008112/0.008256, allocations: 1.203 MB / 401.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.008697, allocations: 346.2 kB / 401.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.009148, allocations: 0.6744 MB / 402.5 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.009473, allocations: 354.9 kB / 402.8 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-05/0.009568, allocations: 107.9 kB / 402.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.009677, allocations: 108 kB / 403 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.009806, allocations: 243.1 kB / 403.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.01005, allocations: 387.1 kB / 403.7 MB, free: 8.488 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009843/0.01103, allocations: 1.211 MB / 404.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01103, allocations: 0 / 404.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01103, allocations: 0 / 404.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.01104, allocations: 4 kB / 404.9 MB, free: 7.27 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001285/0.01233, allocations: 1.214 MB / 406.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.01236, allocations: 12.03 kB / 406.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.01248, allocations: 148.1 kB / 406.2 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.01258, allocations: 120.2 kB / 406.4 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.01306, allocations: 447.1 kB / 406.8 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.01309, allocations: 74.38 kB / 406.9 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.01317, allocations: 92.38 kB / 407 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009682/0.01413, allocations: 1.274 MB / 408.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.01415, allocations: 0 / 408.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.0142, allocations: 40 kB / 408.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01421, allocations: 27.94 kB / 408.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.01491, allocations: 0.5973 MB / 408.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1322/0.1471, allocations: 3.109 MB / 412 MB, free: 29.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.1476, allocations: 367.5 kB / 412.4 MB, free: 29.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.1478, allocations: 174.6 kB / 412.5 MB, free: 29.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1478, allocations: 5.719 kB / 412.5 MB, free: 29.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1478, allocations: 46.31 kB / 412.6 MB, free: 29.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.1478, allocations: 0 / 412.6 MB, free: 29.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006031/0.1484, allocations: 477.8 kB / 413.1 MB, free: 29.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1485, allocations: 113.7 kB / 413.2 MB, free: 29.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.149, allocations: 0.6182 MB / 413.8 MB, free: 29.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.149, allocations: 39.7 kB / 413.8 MB, free: 29.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1491, allocations: 498.7 kB / 414.3 MB, free: 28.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.1492, allocations: 173.3 kB / 414.5 MB, free: 28.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1493, allocations: 139.3 kB / 414.6 MB, free: 28.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.1494, allocations: 376.1 kB / 415 MB, free: 28.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1496, allocations: 170.9 kB / 415.2 MB, free: 28.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.1499, allocations: 480.5 kB / 415.6 MB, free: 27.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.1503, allocations: 0.5963 MB / 416.2 MB, free: 27.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1503, allocations: 3.688 kB / 416.2 MB, free: 27.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006693/0.151, allocations: 0.6879 MB / 416.9 MB, free: 27.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.151, allocations: 7.938 kB / 416.9 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.151, allocations: 8.781 kB / 416.9 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.151, allocations: 12.91 kB / 416.9 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.1514, allocations: 198 kB / 417.1 MB, free: 27.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.1514, allocations: 18.52 kB / 417.2 MB, free: 27.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.1518, allocations: 104 kB / 417.3 MB, free: 27.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.1518, allocations: 33.94 kB / 417.3 MB, free: 27.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (multiplier_xz.limiter2.satNeg,multiplier_xz.limiter2.satPos,multiplier_xz.limiter1.satNeg,multiplier_xz.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001649/0.152, allocations: 219.2 kB / 417.5 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.152, allocations: 70.33 kB / 417.6 MB, free: 26.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.1521, allocations: 72.69 kB / 417.6 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1521, allocations: 5.75 kB / 417.6 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1521, allocations: 5.656 kB / 417.7 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1521, allocations: 7.5 kB / 417.7 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.153, allocations: 1.003 MB / 418.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.153, allocations: 3 kB / 418.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.1533, allocations: 113.3 kB / 418.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1533, allocations: 2.438 kB / 418.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1533, allocations: 10.44 kB / 418.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1533, allocations: 4.719 kB / 418.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1533, allocations: 0 / 418.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.1539, allocations: 0.6513 MB / 419.4 MB, free: 25.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.154, allocations: 105.4 kB / 419.5 MB, free: 25.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.154, allocations: 15.42 kB / 419.6 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.1543, allocations: 62.81 kB / 419.6 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1544, allocations: 33.88 kB / 419.7 MB, free: 25.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1544, allocations: 16 kB / 419.7 MB, free: 25.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.1547, allocations: 419.1 kB / 420.1 MB, free: 25.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1547, allocations: 0 / 420.1 MB, free: 25.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000395/0.1551, allocations: 234.1 kB / 420.3 MB, free: 25.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (c_x.v,c_y.v,c_z.v) * Number of discrete variables: 4 (multiplier_xz.limiter1.satPos,multiplier_xz.limiter1.satNeg,multiplier_xz.limiter2.satPos,multiplier_xz.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 47 * 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.0006664/0.1557, allocations: 1.2 MB / 421.5 MB, free: 24.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.1562, allocations: 423.4 kB / 421.9 MB, free: 24.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1562, allocations: 9.125 kB / 421.9 MB, free: 24.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1564, allocations: 159.5 kB / 422.1 MB, free: 24.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1568, allocations: 127.3 kB / 422.2 MB, free: 24.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/0.1618, allocations: 5.716 MB / 427.9 MB, free: 21.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.162, allocations: 351.1 kB / 428.3 MB, free: 20.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.1622, allocations: 88.59 kB / 428.4 MB, free: 20.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.1625, allocations: 298 kB / 428.6 MB, free: 20.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1625, allocations: 0 / 428.6 MB, free: 20.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08475/0.2472, allocations: 15.23 MB / 443.9 MB, free: 9.969 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.861, allocations: 10.16 kB / 443.9 MB, free: 9.969 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit_fmu --startTime=0 --stopTime=1000 --stepSize=0.01 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../ChaoticCircuits_ChaoticCircuits_RoesslerSystem_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.RoesslerSystem.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.894821750931442]