Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestTriode.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.001202/0.001202, 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.001441/0.001441, allocations: 211.6 kB / 22.25 MB, free: 3.574 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.9914/0.9914, allocations: 230.6 MB / 256 MB, free: 9.586 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.03723/0.03723, allocations: 9.547 MB / 322 MB, free: 8.469 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.TestTriode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestTriode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestTriode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestTriode",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.0009485/0.0009485, allocations: 75.89 kB / 448.6 MB, free: 37.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.0797, allocations: 55.78 MB / 0.4926 GB, free: 13.72 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestTriode): time 0.002328/0.08203, allocations: 1.803 MB / 0.4943 GB, free: 11.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006251/0.08265, allocations: 486.8 kB / 0.4948 GB, free: 11.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.08272, allocations: 4 kB / 0.4948 GB, free: 11.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.78e-05/0.08277, allocations: 11.86 kB / 0.4948 GB, free: 11.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.08284, allocations: 19.8 kB / 0.4948 GB, free: 11.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.08305, allocations: 43.88 kB / 0.4949 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.08317, allocations: 87.59 kB / 0.4949 GB, free: 11.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.08343, allocations: 24.44 kB / 0.495 GB, free: 11.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.08355, allocations: 47.84 kB / 0.495 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.08362, allocations: 27.84 kB / 0.495 GB, free: 11.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.08364, allocations: 8 kB / 0.495 GB, free: 11.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.511e-05/0.08368, allocations: 20 kB / 0.4951 GB, free: 11.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.0837, allocations: 19.86 kB / 0.4951 GB, free: 11.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.08373, allocations: 31.86 kB / 0.4951 GB, free: 11.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.08386, allocations: 99.56 kB / 0.4952 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.08387, allocations: 0 / 0.4952 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08387, allocations: 4 kB / 0.4952 GB, free: 10.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.08388, allocations: 0 / 0.4952 GB, free: 10.98 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003934/0.08427, allocations: 314 kB / 0.4955 GB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.08431, allocations: 12.03 kB / 0.4955 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.08434, allocations: 38.73 kB / 0.4956 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.99e-05/0.08444, allocations: 24.88 kB / 0.4956 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.08461, allocations: 126.4 kB / 0.4957 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.08462, allocations: 12.36 kB / 0.4957 GB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.08463, allocations: 15.88 kB / 0.4957 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.08476, allocations: 73.67 kB / 0.4958 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.08477, allocations: 0 / 0.4958 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.08478, allocations: 4 kB / 0.4958 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.08478, allocations: 7.984 kB / 0.4958 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.087e-05/0.08486, allocations: 43.92 kB / 0.4959 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.08525, allocations: 346.7 kB / 0.4962 GB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.391e-05/0.08531, allocations: 38.56 kB / 0.4962 GB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.08535, allocations: 12.92 kB / 0.4962 GB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.08536, allocations: 4 kB / 0.4962 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.08538, allocations: 38.44 kB / 0.4963 GB, free: 9.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.08538, allocations: 0 / 0.4963 GB, free: 9.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001691/0.08555, allocations: 73.62 kB / 0.4963 GB, free: 9.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.08557, allocations: 51.41 kB / 0.4964 GB, free: 9.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.08566, allocations: 131.9 kB / 0.4965 GB, free: 9.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.08567, allocations: 33.83 kB / 0.4966 GB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.08572, allocations: 112 kB / 0.4967 GB, free: 9.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.08572, allocations: 3.953 kB / 0.4967 GB, free: 9.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.08575, allocations: 17.72 kB / 0.4967 GB, free: 9.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.08583, allocations: 318.8 kB / 0.497 GB, free: 8.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.08586, allocations: 12 kB / 0.497 GB, free: 8.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.08589, allocations: 34.5 kB / 0.497 GB, free: 8.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.196e-05/0.08595, allocations: 50.56 kB / 0.4971 GB, free: 8.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.08595, allocations: 0 / 0.4971 GB, free: 8.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.797e-05/0.08604, allocations: 81.44 kB / 0.4972 GB, free: 8.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.08605, allocations: 6.188 kB / 0.4972 GB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.08606, allocations: 4 kB / 0.4972 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.08607, allocations: 0 / 0.4972 GB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.08613, allocations: 19.92 kB / 0.4972 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.08613, allocations: 0 / 0.4972 GB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.08616, allocations: 8.094 kB / 0.4972 GB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.08616, allocations: 0 / 0.4972 GB, free: 8.738 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 (4): * Single equations (assignments): 4 * 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 5.604e-05/0.08622, allocations: 117.8 kB / 0.4973 GB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.08623, allocations: 11.89 kB / 0.4973 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.08625, allocations: 11.58 kB / 0.4973 GB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.08625, allocations: 3.984 kB / 0.4973 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.08626, allocations: 4 kB / 0.4973 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.08626, allocations: 0 / 0.4973 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.08637, allocations: 144.7 kB / 0.4975 GB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.08637, allocations: 4 kB / 0.4975 GB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.0864, allocations: 11.94 kB / 0.4975 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.0864, allocations: 0 / 0.4975 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.08641, allocations: 0 / 0.4975 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.08641, allocations: 0 / 0.4975 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08641, allocations: 0 / 0.4975 GB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.08651, allocations: 159.4 kB / 0.4976 GB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.162e-05/0.08652, allocations: 11.89 kB / 0.4977 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.08653, allocations: 0 / 0.4977 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.08657, allocations: 11.92 kB / 0.4977 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.08659, allocations: 4 kB / 0.4977 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.0866, allocations: 4.031 kB / 0.4977 GB, free: 8.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.313e-05/0.08664, allocations: 101.4 kB / 0.4978 GB, free: 8.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08664, allocations: 0 / 0.4978 GB, free: 8.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.0868, allocations: 15.94 kB / 0.4978 GB, free: 8.066 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 (2): * Single equations (assignments): 2 * 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.0004989/0.0873, allocations: 0.6812 MB / 0.4984 GB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.738e-05/0.08739, allocations: 35.92 kB / 0.4985 GB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.08739, allocations: 224 / 0.4985 GB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.08742, allocations: 19.98 kB / 0.4985 GB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.08758, allocations: 0 / 0.4985 GB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.08853, allocations: 1.428 MB / 0.4999 GB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.08858, allocations: 83.94 kB / 0.5 GB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.291e-05/0.08861, allocations: 8.078 kB / 0.5 GB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.08865, allocations: 19.42 kB / 0.5 GB, free: 5.656 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.08865, allocations: 0 / 0.5 GB, free: 5.656 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07824/0.1669, allocations: 2.151 MB / 0.5021 GB, free: 3.613 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.028, allocations: 6.641 kB / 0.5021 GB, free: 3.609 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestTriode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestTriode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestTriode.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestTriode.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestTriode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestTriode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestTriode.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestTriode_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestTriode_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestTriode_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestTriode_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestTriode_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../ChaoticCircuits_ChaoticCircuits_Test_TestTriode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestTriode_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.231429360806942]