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.001381/0.001381, allocations: 81.92 kB / 19.87 MB, free: 4.469 MB / 18.57 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.001618/0.001618, allocations: 166.1 kB / 23.27 MB, free: 1.062 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.9632/0.9632, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.02646/0.02646, allocations: 7.104 MB / 267.4 MB, free: 5.902 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: translateModel(ChaoticCircuits.RikitakeSystem.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel") translateModel(ChaoticCircuits.RikitakeSystem.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 339.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.497e-05, allocations: 2.312 kB / 339.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.003744/0.003759, allocations: 3.163 MB / 342.7 MB, free: 7.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.005171, allocations: 0.9538 MB / 343.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.005351, allocations: 11.94 kB / 343.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.005755, allocations: 139 kB / 343.8 MB, free: 6.375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.005993, allocations: 142.8 kB / 343.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.00614, allocations: 87.86 kB / 344 MB, free: 6.148 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.006518, allocations: 494 kB / 344.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.006688, allocations: 121 kB / 344.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.007041, allocations: 275.4 kB / 344.9 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.00721, allocations: 159.5 kB / 345 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.007249, allocations: 40 kB / 345.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.007291, allocations: 40 kB / 345.1 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.007343, allocations: 91.59 kB / 345.2 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.007439, allocations: 155.6 kB / 345.3 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.007712, allocations: 302.8 kB / 345.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007714, allocations: 0 / 345.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007715, allocations: 0 / 345.6 MB, free: 4.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.00772, allocations: 0 / 345.6 MB, free: 4.504 MB / 314.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.0006934/0.008413, allocations: 0.7259 MB / 346.4 MB, free: 3.742 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.008442, allocations: 12.03 kB / 346.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.008522, allocations: 80.66 kB / 346.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.008753, allocations: 247.8 kB / 346.7 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.008775, allocations: 33.38 kB / 346.7 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.008816, allocations: 40.33 kB / 346.8 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.009062, allocations: 270 kB / 347 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.009077, allocations: 4 kB / 347 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.009096, allocations: 12 kB / 347 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.009106, allocations: 16 kB / 347.1 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.009228, allocations: 110.9 kB / 347.2 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01029, allocations: 1.038 MB / 348.2 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.01044, allocations: 134.6 kB / 348.3 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.01049, allocations: 46.66 kB / 348.4 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.0105, allocations: 7.938 kB / 348.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.01052, allocations: 45.33 kB / 348.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.01052, allocations: 0 / 348.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002114/0.01073, allocations: 161.4 kB / 348.6 MB, free: 1.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.01076, allocations: 59.41 kB / 348.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.01092, allocations: 292.2 kB / 348.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.01093, allocations: 29.7 kB / 349 MB, free: 0.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01104, allocations: 278.8 kB / 349.2 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.01108, allocations: 99.19 kB / 349.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.01114, allocations: 55.94 kB / 349.4 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01125, allocations: 0.5078 MB / 349.9 MB, free: 0 / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.0113, allocations: 24.3 kB / 349.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.01138, allocations: 126.7 kB / 350 MB, free: 15.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.0115, allocations: 178.3 kB / 350.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01151, allocations: 0 / 350.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001899/0.0117, allocations: 207.8 kB / 350.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01171, allocations: 12 kB / 350.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01172, allocations: 0 / 350.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.01172, allocations: 4 kB / 350.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.01191, allocations: 87.89 kB / 350.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01192, allocations: 4 kB / 350.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.012, allocations: 19.84 kB / 350.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.01201, allocations: 8 kB / 350.6 MB, free: 15.26 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 9.094e-05/0.0121, allocations: 180.4 kB / 350.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.01214, allocations: 27.86 kB / 350.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.01218, allocations: 34.27 kB / 350.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01218, allocations: 4 kB / 350.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01218, allocations: 0 / 350.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01219, allocations: 0 / 350.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.0126, allocations: 493.2 kB / 351.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.0126, allocations: 4 kB / 351.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.01274, allocations: 51.92 kB / 351.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01274, allocations: 4 kB / 351.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01276, allocations: 7.984 kB / 351.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01276, allocations: 4.031 kB / 351.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01276, allocations: 7.938 kB / 351.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.01299, allocations: 346.2 kB / 351.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.01302, allocations: 19.8 kB / 351.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.01304, allocations: 11.98 kB / 351.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.01313, allocations: 12.06 kB / 351.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.01315, allocations: 15.97 kB / 351.8 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.01316, allocations: 11.94 kB / 351.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.762e-05/0.01325, allocations: 197.1 kB / 352 MB, free: 13.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01325, allocations: 4 kB / 352 MB, free: 13.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.01348, allocations: 99.73 kB / 352.1 MB, free: 13.69 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 7.934e-05/0.01356, allocations: 103.1 kB / 352.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.01371, allocations: 116.1 kB / 352.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01371, allocations: 0 / 352.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.01375, allocations: 59.59 kB / 352.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.014, allocations: 48.95 kB / 352.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.01506, allocations: 0.8013 MB / 353.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.014e-05/0.01511, allocations: 92.3 kB / 353.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.01518, allocations: 26.28 kB / 353.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.01529, allocations: 110.2 kB / 353.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01529, allocations: 0 / 353.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of Templates: time 0.004485/0.01978, allocations: 2.507 MB / 355.9 MB, free: 9.801 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.makefile [Timeout 660] (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_cvode && ../ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_gbode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_gbode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_gbode.sim & (cd run_gbode && ../ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_gbode.pipe 2>&1) [Timeout 240] (rm -f ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_ida.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_ida.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_ida.sim & (cd run_ida && ../ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ChaoticCircuits_ChaoticCircuits.RikitakeSystem.PhysicalModel_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.977698955219239]