Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RikitakeSystem.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.001112/0.001112, 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.0008921/0.0008921, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9187/0.9187, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02579/0.02579, allocations: 7.115 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.RikitakeSystem.PhysicalModel,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RikitakeSystem_PhysicalModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.RikitakeSystem.PhysicalModel,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_RikitakeSystem_PhysicalModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 393 MB, free: 3.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.911e-05, allocations: 2.281 kB / 393 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.003169/0.003188, allocations: 2.966 MB / 396 MB, free: 248 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.004971, allocations: 0.9266 MB / 396.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.00524, allocations: 7.938 kB / 396.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000507/0.005747, allocations: 139 kB / 397 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.006091, allocations: 158.7 kB / 397.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.006279, allocations: 79.88 kB / 397.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.006817, allocations: 494.1 kB / 397.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.007059, allocations: 109.2 kB / 397.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.00754, allocations: 283.3 kB / 398.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.007774, allocations: 151.5 kB / 398.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.00783, allocations: 40 kB / 398.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.007893, allocations: 40 kB / 398.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.007965, allocations: 95.58 kB / 398.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.008122, allocations: 151.7 kB / 398.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.008629, allocations: 462.3 kB / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.008632, allocations: 0 / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008633, allocations: 0 / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.008643, allocations: 4 kB / 399.1 MB, free: 13.13 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.00103/0.009673, allocations: 0.6067 MB / 399.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.009718, allocations: 8.031 kB / 399.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.593e-05/0.009813, allocations: 86.64 kB / 399.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.043e-05/0.009904, allocations: 48.66 kB / 399.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.01037, allocations: 257.1 kB / 400 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.0104, allocations: 25.38 kB / 400.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.01047, allocations: 52.25 kB / 400.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.01103, allocations: 361.9 kB / 400.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.01106, allocations: 4 kB / 400.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.01109, allocations: 12 kB / 400.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.0111, allocations: 12 kB / 400.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.0115, allocations: 227.9 kB / 400.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.01327, allocations: 1.092 MB / 401.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.01357, allocations: 174.8 kB / 402 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.01369, allocations: 68.78 kB / 402.1 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.0137, allocations: 7.984 kB / 402.1 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.01374, allocations: 38.56 kB / 402.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.665e-06/0.01374, allocations: 0 / 402.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004128/0.01415, allocations: 212.4 kB / 402.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.01418, allocations: 63.34 kB / 402.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.0145, allocations: 281.8 kB / 402.6 MB, free: 9.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.01452, allocations: 33.7 kB / 402.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.01465, allocations: 228.2 kB / 402.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.01471, allocations: 87.22 kB / 403 MB, free: 8.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.01479, allocations: 53.7 kB / 403 MB, free: 8.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.0149, allocations: 346.7 kB / 403.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.01501, allocations: 59.84 kB / 403.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01516, allocations: 125.4 kB / 403.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.01544, allocations: 201 kB / 403.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01544, allocations: 4 kB / 403.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004232/0.01586, allocations: 259.6 kB / 404 MB, free: 7.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.01589, allocations: 8 kB / 404 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.0159, allocations: 4.25 kB / 404 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.01592, allocations: 4 kB / 404 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.01624, allocations: 79.91 kB / 404.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.01625, allocations: 11.92 kB / 404.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.01639, allocations: 31.72 kB / 404.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.01641, allocations: 12 kB / 404.2 MB, free: 7.723 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 36 * 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.0001346/0.01655, allocations: 145.8 kB / 404.3 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.0166, allocations: 23.86 kB / 404.3 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.01665, allocations: 30.27 kB / 404.4 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01665, allocations: 4 kB / 404.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01666, allocations: 0 / 404.4 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01666, allocations: 3.938 kB / 404.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008421/0.01751, allocations: 0.5801 MB / 404.9 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.01751, allocations: 0 / 404.9 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.01777, allocations: 55.97 kB / 405 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.01777, allocations: 4 kB / 405 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.01779, allocations: 0 / 405 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.0178, allocations: 11.88 kB / 405 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.0178, allocations: 0 / 405 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.01841, allocations: 347.3 kB / 405.4 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.01846, allocations: 31.84 kB / 405.4 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.0185, allocations: 11.94 kB / 405.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.01868, allocations: 11.98 kB / 405.4 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.01871, allocations: 7.984 kB / 405.4 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.01872, allocations: 15.98 kB / 405.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.01894, allocations: 201.2 kB / 405.6 MB, free: 6.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01894, allocations: 0 / 405.6 MB, free: 6.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004103/0.01935, allocations: 95.73 kB / 405.7 MB, free: 6.078 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inductor1.i,inductor2.i,inertia1.w,inertia2.w,torque1.phi,torque2.phi) * 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 (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 Backend phase and start with SimCode phase: time 0.0007084/0.02006, allocations: 0.8963 MB / 406.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.02036, allocations: 143.9 kB / 406.8 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02036, allocations: 4 kB / 406.8 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.02047, allocations: 74.84 kB / 406.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.02096, allocations: 42.97 kB / 406.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.02561, allocations: 3.145 MB / 410 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.02579, allocations: 178.2 kB / 410.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.02591, allocations: 34.91 kB / 410.2 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.02608, allocations: 120.5 kB / 410.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02608, allocations: 0 / 410.3 MB, free: 1.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2136/0.2397, allocations: 6.513 MB / 416.9 MB, free: 29.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.448, allocations: 1.875 kB / 416.9 MB, free: 29.18 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_RikitakeSystem_PhysicalModel_fmu --startTime=0 --stopTime=15 --stepSize=0.0005 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_RikitakeSystem_PhysicalModel.fmu) > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_fmpy_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0005 ../ChaoticCircuits_ChaoticCircuits_RikitakeSystem_PhysicalModel.fmu) > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.25355424452573]