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.001179/0.001179, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.00146/0.00146, allocations: 216.1 kB / 22.25 MB, free: 3.582 MB / 13.93 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.9757/0.9757, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.03745/0.03745, allocations: 9.558 MB / 322 MB, free: 8.5 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 71.89 kB / 448.6 MB, free: 37.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08503, allocations: 55.78 MB / 0.4926 GB, free: 13.87 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RikitakeSystem.PhysicalModel): time 0.003348/0.08837, allocations: 2.954 MB / 0.4954 GB, free: 10.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.08988, allocations: 0.9228 MB / 0.4963 GB, free: 9.977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.09005, allocations: 11.94 kB / 0.4964 GB, free: 9.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.09051, allocations: 127.3 kB / 0.4965 GB, free: 9.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.09071, allocations: 146.8 kB / 0.4966 GB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.09085, allocations: 83.89 kB / 0.4967 GB, free: 9.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.09126, allocations: 478.3 kB / 0.4972 GB, free: 9.145 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.09146, allocations: 121.2 kB / 0.4973 GB, free: 9.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.09179, allocations: 195.2 kB / 0.4975 GB, free: 8.832 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.09199, allocations: 175.1 kB / 0.4976 GB, free: 8.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.09203, allocations: 40 kB / 0.4977 GB, free: 8.621 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.09208, allocations: 40 kB / 0.4977 GB, free: 8.582 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.09213, allocations: 91.62 kB / 0.4978 GB, free: 8.492 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.09224, allocations: 179.2 kB / 0.498 GB, free: 8.316 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.09266, allocations: 466 kB / 0.4984 GB, free: 7.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.09266, allocations: 4 kB / 0.4984 GB, free: 7.855 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09266, allocations: 0 / 0.4984 GB, free: 7.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.09268, allocations: 0 / 0.4984 GB, free: 7.855 MB / 362.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.0008383/0.09351, allocations: 0.6144 MB / 0.499 GB, free: 7.207 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.09356, allocations: 12.03 kB / 0.499 GB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.09363, allocations: 90.69 kB / 0.4991 GB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.0937, allocations: 48.66 kB / 0.4992 GB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.09413, allocations: 253.8 kB / 0.4994 GB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.09415, allocations: 32.94 kB / 0.4994 GB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.09419, allocations: 39.95 kB / 0.4995 GB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.09458, allocations: 365.9 kB / 0.4998 GB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.09459, allocations: 0 / 0.4998 GB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.09462, allocations: 16 kB / 0.4998 GB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.09462, allocations: 8 kB / 0.4998 GB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.0949, allocations: 231.9 kB / 0.5001 GB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.09623, allocations: 1.091 MB / 0.5011 GB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.09646, allocations: 182.6 kB / 0.5013 GB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.09654, allocations: 64.84 kB / 0.5014 GB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.09655, allocations: 4 kB / 0.5014 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.09658, allocations: 34.56 kB / 0.5014 GB, free: 4.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.09658, allocations: 3.938 kB / 0.5014 GB, free: 4.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003174/0.0969, allocations: 228.5 kB / 0.5016 GB, free: 4.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.09692, allocations: 55.41 kB / 0.5017 GB, free: 4.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.09714, allocations: 281.9 kB / 0.5019 GB, free: 4.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.09716, allocations: 33.64 kB / 0.502 GB, free: 3.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.09726, allocations: 224.2 kB / 0.5022 GB, free: 3.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.0973, allocations: 91.22 kB / 0.5023 GB, free: 3.672 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.09736, allocations: 53.7 kB / 0.5023 GB, free: 3.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.09745, allocations: 338.8 kB / 0.5026 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.09753, allocations: 59.98 kB / 0.5027 GB, free: 3.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.09763, allocations: 119.9 kB / 0.5028 GB, free: 3.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.09782, allocations: 203.8 kB / 0.503 GB, free: 2.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.09782, allocations: 0 / 0.503 GB, free: 2.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002776/0.0981, allocations: 263.8 kB / 0.5033 GB, free: 2.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.09811, allocations: 10.06 kB / 0.5033 GB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.09812, allocations: 4 kB / 0.5033 GB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.09813, allocations: 4 kB / 0.5033 GB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.09834, allocations: 87.83 kB / 0.5034 GB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.09835, allocations: 7.938 kB / 0.5034 GB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.09844, allocations: 27.78 kB / 0.5034 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.09846, allocations: 12 kB / 0.5034 GB, free: 2.434 MB / 362.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.0001034/0.09856, allocations: 141.8 kB / 0.5035 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.09859, allocations: 27.86 kB / 0.5036 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.09863, allocations: 38.25 kB / 0.5036 GB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.09864, allocations: 7.938 kB / 0.5036 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.09864, allocations: 0 / 0.5036 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.09865, allocations: 0 / 0.5036 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.0992, allocations: 0.5684 MB / 0.5042 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.09921, allocations: 0 / 0.5042 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.09936, allocations: 59.91 kB / 0.5042 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.09937, allocations: 3.938 kB / 0.5042 GB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.09938, allocations: 12 kB / 0.5042 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.09938, allocations: 4.031 kB / 0.5042 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09939, allocations: 0 / 0.5042 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.09968, allocations: 355.9 kB / 0.5046 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.09972, allocations: 31.8 kB / 0.5046 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.09974, allocations: 4 kB / 0.5046 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.09984, allocations: 11.98 kB / 0.5046 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.09987, allocations: 15.97 kB / 0.5046 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.09988, allocations: 4 kB / 0.5047 GB, free: 1.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1, allocations: 205.2 kB / 0.5048 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1, allocations: 0 / 0.5048 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.1003, allocations: 103.7 kB / 0.5049 GB, free: 0.7812 MB / 362.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.0004965/0.1008, allocations: 0.8852 MB / 0.5058 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.101, allocations: 155.6 kB / 0.506 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.101, allocations: 0 / 0.506 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.1011, allocations: 75.09 kB / 0.506 GB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1014, allocations: 37.05 kB / 0.5061 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.1043, allocations: 3.274 MB / 0.5093 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.1044, allocations: 182.2 kB / 0.5094 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.1045, allocations: 30.97 kB / 0.5095 GB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.1046, allocations: 119.4 kB / 0.5096 GB, free: 11.85 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1046, allocations: 3.938 kB / 0.5096 GB, free: 11.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08783/0.1924, allocations: 6.381 MB / 0.5158 GB, free: 5.609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/7.012, allocations: 6.188 kB / 0.5158 GB, free: 5.605 MB / 378.7 MB " [Timeout remaining time 653] (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.094989093020558]