Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestEMF.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.00101/0.00101, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.00173/0.00173, allocations: 214.5 kB / 22.25 MB, free: 3.57 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 1.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.605 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.03695/0.03695, allocations: 9.553 MB / 322 MB, free: 8.492 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.Test.TestEMF,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestEMF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestEMF,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestEMF",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.0009964/0.0009964, allocations: 71.91 kB / 448.6 MB, free: 37.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09126, allocations: 55.78 MB / 0.4926 GB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestEMF): time 0.003291/0.09455, allocations: 2.009 MB / 0.4945 GB, free: 11.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003258/0.09487, allocations: 99.62 kB / 0.4946 GB, free: 11.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.09495, allocations: 0 / 0.4946 GB, free: 11.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.092e-05/0.09501, allocations: 27.78 kB / 0.4947 GB, free: 11.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.09519, allocations: 39.64 kB / 0.4947 GB, free: 11.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.83e-05/0.09526, allocations: 27.91 kB / 0.4947 GB, free: 11.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.0954, allocations: 123.5 kB / 0.4948 GB, free: 11.52 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.09554, allocations: 45.44 kB / 0.4949 GB, free: 11.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.09562, allocations: 43.86 kB / 0.4949 GB, free: 11.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.182e-05/0.09571, allocations: 55.7 kB / 0.495 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.09573, allocations: 8 kB / 0.495 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.09575, allocations: 12 kB / 0.495 GB, free: 11.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.09578, allocations: 27.86 kB / 0.495 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.09583, allocations: 55.78 kB / 0.4951 GB, free: 11.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.09602, allocations: 127.5 kB / 0.4952 GB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.09603, allocations: 0 / 0.4952 GB, free: 11.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.09603, allocations: 0 / 0.4952 GB, free: 11.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.09604, allocations: 0 / 0.4952 GB, free: 11.16 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005225/0.09656, allocations: 353.8 kB / 0.4955 GB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.09661, allocations: 8.031 kB / 0.4955 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.09665, allocations: 46.73 kB / 0.4956 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.09669, allocations: 16.84 kB / 0.4956 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.09688, allocations: 138.4 kB / 0.4957 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.09689, allocations: 12.38 kB / 0.4957 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.09692, allocations: 12.38 kB / 0.4958 GB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.09716, allocations: 130.3 kB / 0.4959 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.09717, allocations: 0 / 0.4959 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.09719, allocations: 7.938 kB / 0.4959 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.09719, allocations: 4 kB / 0.4959 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.09736, allocations: 75.95 kB / 0.496 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.098, allocations: 438.4 kB / 0.4964 GB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.09815, allocations: 66.48 kB / 0.4964 GB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.09821, allocations: 36.78 kB / 0.4965 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.09822, allocations: 0 / 0.4965 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.09824, allocations: 30.56 kB / 0.4965 GB, free: 9.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.09825, allocations: 0 / 0.4965 GB, free: 9.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002817/0.09853, allocations: 121.7 kB / 0.4966 GB, free: 9.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.09856, allocations: 51.41 kB / 0.4967 GB, free: 9.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.09867, allocations: 141.6 kB / 0.4968 GB, free: 9.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.09868, allocations: 25.7 kB / 0.4968 GB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.09874, allocations: 119.9 kB / 0.4969 GB, free: 9.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.09876, allocations: 31.73 kB / 0.497 GB, free: 9.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.09881, allocations: 21.72 kB / 0.497 GB, free: 9.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.0989, allocations: 326.8 kB / 0.4973 GB, free: 8.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.09896, allocations: 27.98 kB / 0.4973 GB, free: 8.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.09904, allocations: 64.27 kB / 0.4974 GB, free: 8.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.09917, allocations: 92.2 kB / 0.4975 GB, free: 8.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.09917, allocations: 0 / 0.4975 GB, free: 8.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001913/0.09936, allocations: 133.5 kB / 0.4976 GB, free: 8.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.09938, allocations: 6.031 kB / 0.4976 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.09938, allocations: 0 / 0.4976 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.0994, allocations: 8 kB / 0.4976 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.09952, allocations: 23.98 kB / 0.4976 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.09953, allocations: 0 / 0.4976 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.09958, allocations: 11.94 kB / 0.4977 GB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.09958, allocations: 4 kB / 0.4977 GB, free: 8.398 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 12 * 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 8.402e-05/0.09967, allocations: 133.8 kB / 0.4978 GB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.09969, allocations: 7.953 kB / 0.4978 GB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.09972, allocations: 12.38 kB / 0.4978 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.09973, allocations: 0 / 0.4978 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.09973, allocations: 0 / 0.4978 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.09973, allocations: 3.938 kB / 0.4978 GB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.09992, allocations: 180.6 kB / 0.498 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.09993, allocations: 0 / 0.498 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.693e-05/0.1, allocations: 23.98 kB / 0.498 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1, allocations: 0 / 0.498 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.1, allocations: 0 / 0.498 GB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1, allocations: 4 kB / 0.498 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1, allocations: 0 / 0.498 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1003, allocations: 223.3 kB / 0.4982 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.1003, allocations: 11.92 kB / 0.4982 GB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1003, allocations: 7.984 kB / 0.4982 GB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.1004, allocations: 4 kB / 0.4982 GB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1004, allocations: 3.984 kB / 0.4983 GB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1004, allocations: 4 kB / 0.4983 GB, free: 7.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.496e-05/0.1005, allocations: 105.6 kB / 0.4984 GB, free: 7.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1005, allocations: 0 / 0.4984 GB, free: 7.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.1008, allocations: 27.95 kB / 0.4984 GB, free: 7.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (emf.phi,inertia.w) * 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 (7): * Single equations (assignments): 7 * 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.0004824/0.1012, allocations: 0.7518 MB / 0.4991 GB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1014, allocations: 71.95 kB / 0.4992 GB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1014, allocations: 320 / 0.4992 GB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.1015, allocations: 31.98 kB / 0.4992 GB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1018, allocations: 8 kB / 0.4992 GB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1038, allocations: 1.745 MB / 0.5009 GB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.1039, allocations: 97.03 kB / 0.501 GB, free: 4.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.1039, allocations: 4.438 kB / 0.501 GB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.104, allocations: 35.42 kB / 0.5011 GB, free: 4.703 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.104, allocations: 0 / 0.5011 GB, free: 4.703 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08859/0.1926, allocations: 2.713 MB / 0.5037 GB, free: 2.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.824, allocations: 15.28 kB / 0.5037 GB, free: 2.086 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestEMF_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestEMF.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestEMF.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestEMF.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestEMF_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.19288999401033]