Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.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.0008997/0.0008997, 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.001045/0.001045, allocations: 212.7 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.044/1.044, allocations: 230.6 MB / 256 MB, free: 9.602 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.02856/0.02856, allocations: 9.561 MB / 322 MB, free: 8.484 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.TestDynamicDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestDynamicDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode",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.001187/0.001187, allocations: 79.89 kB / 448.6 MB, free: 37.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08934, allocations: 55.77 MB / 0.4926 GB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestDynamicDiode): time 0.002601/0.09194, allocations: 1.923 MB / 0.4944 GB, free: 11.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008552/0.0928, allocations: 0.592 MB / 0.495 GB, free: 11.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.09287, allocations: 0 / 0.495 GB, free: 11.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.09305, allocations: 35.77 kB / 0.495 GB, free: 11.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.09311, allocations: 35.66 kB / 0.4951 GB, free: 11.26 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.09333, allocations: 59.86 kB / 0.4951 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.09349, allocations: 131.5 kB / 0.4953 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.09362, allocations: 29.8 kB / 0.4953 GB, free: 11.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.09379, allocations: 67.77 kB / 0.4954 GB, free: 10.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.572e-05/0.09388, allocations: 59.69 kB / 0.4954 GB, free: 10.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.09389, allocations: 12 kB / 0.4954 GB, free: 10.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.09394, allocations: 16 kB / 0.4954 GB, free: 10.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.09397, allocations: 27.91 kB / 0.4955 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.09401, allocations: 51.73 kB / 0.4955 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.09419, allocations: 147.4 kB / 0.4957 GB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09419, allocations: 0 / 0.4957 GB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.09419, allocations: 0 / 0.4957 GB, free: 10.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.0942, allocations: 0 / 0.4957 GB, free: 10.66 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005345/0.09473, allocations: 357.7 kB / 0.496 GB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.09478, allocations: 12.03 kB / 0.496 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.09481, allocations: 38.73 kB / 0.496 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.09493, allocations: 24.84 kB / 0.4961 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.09517, allocations: 138.4 kB / 0.4962 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.09518, allocations: 16.27 kB / 0.4962 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.0952, allocations: 7.938 kB / 0.4962 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.0954, allocations: 117.6 kB / 0.4963 GB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.09541, allocations: 4 kB / 0.4963 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.09542, allocations: 0 / 0.4963 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.09543, allocations: 3.938 kB / 0.4963 GB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.09559, allocations: 103.9 kB / 0.4964 GB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.09614, allocations: 430.6 kB / 0.4969 GB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.0963, allocations: 86.53 kB / 0.4969 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.09638, allocations: 48.83 kB / 0.497 GB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.0964, allocations: 3.938 kB / 0.497 GB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.09643, allocations: 38.5 kB / 0.497 GB, free: 9.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.09643, allocations: 3.984 kB / 0.497 GB, free: 9.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001111/0.09754, allocations: 449.1 kB / 0.4975 GB, free: 8.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.09758, allocations: 55.39 kB / 0.4975 GB, free: 8.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.09769, allocations: 152.9 kB / 0.4977 GB, free: 8.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.0977, allocations: 25.7 kB / 0.4977 GB, free: 8.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.09776, allocations: 116 kB / 0.4978 GB, free: 8.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.09779, allocations: 39.83 kB / 0.4978 GB, free: 8.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.09784, allocations: 29.7 kB / 0.4979 GB, free: 8.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.09792, allocations: 326.8 kB / 0.4982 GB, free: 7.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.09804, allocations: 79.95 kB / 0.4982 GB, free: 7.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.09817, allocations: 94.53 kB / 0.4983 GB, free: 7.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.09841, allocations: 182.4 kB / 0.4985 GB, free: 7.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.09841, allocations: 0 / 0.4985 GB, free: 7.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002943/0.09871, allocations: 217.4 kB / 0.4987 GB, free: 7.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.09872, allocations: 14.25 kB / 0.4987 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.09873, allocations: 0 / 0.4987 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.09874, allocations: 0 / 0.4987 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.09888, allocations: 39.95 kB / 0.4988 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.09889, allocations: 4 kB / 0.4988 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.09896, allocations: 23.92 kB / 0.4988 GB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.09897, allocations: 4 kB / 0.4988 GB, free: 7.234 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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 7.93e-05/0.09905, allocations: 121.8 kB / 0.4989 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.09908, allocations: 15.95 kB / 0.4989 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.09942, allocations: 218.3 kB / 0.4991 GB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.09942, allocations: 3.938 kB / 0.4991 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09943, allocations: 0 / 0.4991 GB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.09943, allocations: 15.92 kB / 0.4992 GB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.09995, allocations: 493.5 kB / 0.4996 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.09995, allocations: 0 / 0.4996 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1001, allocations: 31.97 kB / 0.4997 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1001, allocations: 0 / 0.4997 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1001, allocations: 4 kB / 0.4997 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1001, allocations: 3.938 kB / 0.4997 GB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1001, allocations: 3.938 kB / 0.4997 GB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1004, allocations: 311.7 kB / 0.5 GB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.1004, allocations: 15.89 kB / 0.5 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1004, allocations: 3.984 kB / 0.5 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.1005, allocations: 19.92 kB / 0.5 GB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1005, allocations: 11.98 kB / 0.5 GB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1005, allocations: 4 kB / 0.5 GB, free: 5.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.1006, allocations: 107.3 kB / 0.5001 GB, free: 5.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1006, allocations: 0 / 0.5001 GB, free: 5.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.1008, allocations: 31.98 kB / 0.5002 GB, free: 5.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0005531/0.1013, allocations: 0.8372 MB / 0.501 GB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.1017, allocations: 171.8 kB / 0.5011 GB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1017, allocations: 0 / 0.5011 GB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1018, allocations: 92.02 kB / 0.5012 GB, free: 4.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1021, allocations: 11.98 kB / 0.5012 GB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.104, allocations: 1.99 MB / 0.5032 GB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.428e-05/0.1041, allocations: 93.05 kB / 0.5033 GB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.787e-05/0.1042, allocations: 16.48 kB / 0.5033 GB, free: 2.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.1043, allocations: 39.42 kB / 0.5033 GB, free: 2.379 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1043, allocations: 4 kB / 0.5033 GB, free: 2.375 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.2108, allocations: 3.987 MB / 0.5072 GB, free: 14.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/7.098, allocations: 3.125 kB / 0.5072 GB, free: 14.51 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.694976843893528]