Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.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.001101/0.001101, 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.0008738/0.0008738, 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 0.943/0.943, 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.0311/0.0311, allocations: 9.554 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.SimpleTransistorCharacteristic,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_SimpleTransistorCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.SimpleTransistorCharacteristic,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_SimpleTransistorCharacteristic",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.001416/0.001416, allocations: 71.89 kB / 448.6 MB, free: 37.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.0859, allocations: 55.78 MB / 0.4926 GB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleTransistorCharacteristic): time 0.002551/0.08845, allocations: 1.962 MB / 0.4945 GB, free: 11.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.0895, allocations: 0.5533 MB / 0.495 GB, free: 11.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.08957, allocations: 0 / 0.495 GB, free: 11.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.093e-05/0.08963, allocations: 27.72 kB / 0.495 GB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.08976, allocations: 47.62 kB / 0.4951 GB, free: 11.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.09, allocations: 55.88 kB / 0.4951 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.0902, allocations: 199.3 kB / 0.4953 GB, free: 11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.09035, allocations: 45.94 kB / 0.4954 GB, free: 10.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.09048, allocations: 83.7 kB / 0.4955 GB, free: 10.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.0906, allocations: 83.64 kB / 0.4955 GB, free: 10.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.09063, allocations: 20 kB / 0.4956 GB, free: 10.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.512e-05/0.09066, allocations: 20 kB / 0.4956 GB, free: 10.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.0907, allocations: 43.78 kB / 0.4956 GB, free: 10.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.09078, allocations: 71.7 kB / 0.4957 GB, free: 10.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.09096, allocations: 195.2 kB / 0.4959 GB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.09096, allocations: 0 / 0.4959 GB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09097, allocations: 0 / 0.4959 GB, free: 10.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.09097, allocations: 0 / 0.4959 GB, free: 10.45 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006697/0.09164, allocations: 463.4 kB / 0.4963 GB, free: 9.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.09168, allocations: 12.03 kB / 0.4963 GB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.09172, allocations: 46.73 kB / 0.4964 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.09176, allocations: 16.84 kB / 0.4964 GB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.09186, allocations: 138.3 kB / 0.4965 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.09188, allocations: 8.656 kB / 0.4965 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.0919, allocations: 19.94 kB / 0.4965 GB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.09226, allocations: 191.7 kB / 0.4967 GB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.09227, allocations: 3.938 kB / 0.4967 GB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.09228, allocations: 8 kB / 0.4967 GB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.09229, allocations: 8 kB / 0.4967 GB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.0926, allocations: 176.1 kB / 0.4969 GB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.09337, allocations: 0.5706 MB / 0.4975 GB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.0937, allocations: 174.4 kB / 0.4976 GB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.09391, allocations: 104.8 kB / 0.4977 GB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.09394, allocations: 0 / 0.4977 GB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.09423, allocations: 160 kB / 0.4979 GB, free: 8.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.09423, allocations: 4 kB / 0.4979 GB, free: 8.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005503/0.09478, allocations: 289.5 kB / 0.4982 GB, free: 7.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.09483, allocations: 85.05 kB / 0.4983 GB, free: 7.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.09493, allocations: 164.8 kB / 0.4984 GB, free: 7.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.09494, allocations: 25.7 kB / 0.4984 GB, free: 7.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.095, allocations: 124.4 kB / 0.4986 GB, free: 7.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.09503, allocations: 39.72 kB / 0.4986 GB, free: 7.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.09508, allocations: 41.73 kB / 0.4986 GB, free: 7.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.09516, allocations: 322.8 kB / 0.4989 GB, free: 7.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.09532, allocations: 101.6 kB / 0.499 GB, free: 6.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.09549, allocations: 152.8 kB / 0.4992 GB, free: 6.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.09578, allocations: 214.7 kB / 0.4994 GB, free: 6.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09578, allocations: 0 / 0.4994 GB, free: 6.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003749/0.09615, allocations: 293.2 kB / 0.4997 GB, free: 6.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.09618, allocations: 37.64 kB / 0.4997 GB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.09619, allocations: 0 / 0.4997 GB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.0962, allocations: 4 kB / 0.4997 GB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.09632, allocations: 36.11 kB / 0.4997 GB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.09632, allocations: 11.88 kB / 0.4998 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.09642, allocations: 39.86 kB / 0.4998 GB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.09643, allocations: 4 kB / 0.4998 GB, free: 6.137 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (staircase.n,$PRE.staircase.n,staircase.firstTrigger,$PRE.staircase.firstTrigger,staircase.sampleTrigger,$whenCondition2,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,staircase.h,$PRE.staircase.h,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.705e-05/0.09652, allocations: 133.8 kB / 0.4999 GB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.09653, allocations: 7.953 kB / 0.4999 GB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.09694, allocations: 254.1 kB / 0.5002 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.09695, allocations: 0 / 0.5002 GB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.09695, allocations: 3.938 kB / 0.5002 GB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.09696, allocations: 3.938 kB / 0.5002 GB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.09758, allocations: 0.6092 MB / 0.5008 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.09758, allocations: 0 / 0.5008 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.09766, allocations: 31.95 kB / 0.5008 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.09767, allocations: 4.031 kB / 0.5008 GB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.09768, allocations: 7.938 kB / 0.5008 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.09768, allocations: 0 / 0.5008 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.09768, allocations: 0 / 0.5008 GB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.09807, allocations: 344.6 kB / 0.5011 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.09809, allocations: 23.78 kB / 0.5012 GB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.09811, allocations: 8 kB / 0.5012 GB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.09821, allocations: 23.97 kB / 0.5012 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.09827, allocations: 23.95 kB / 0.5012 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.09828, allocations: 4 kB / 0.5012 GB, free: 4.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.09834, allocations: 111.3 kB / 0.5013 GB, free: 4.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09834, allocations: 0 / 0.5013 GB, free: 4.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.09855, allocations: 47.88 kB / 0.5014 GB, free: 4.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 (staircase.sampleTrigger,$whenCondition2,$whenCondition1,staircase.firstTrigger,staircase.h,staircase.n,trapezoid.T_start,trapezoid.count) * Number of discrete states: 3 (trapezoid.count,staircase.n,staircase.h) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008015/0.09935, allocations: 0.87 MB / 0.5022 GB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.09975, allocations: 264.8 kB / 0.5025 GB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.09975, allocations: 0 / 0.5025 GB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.09992, allocations: 106.8 kB / 0.5026 GB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1001, allocations: 18.34 kB / 0.5026 GB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1021, allocations: 2.201 MB / 0.5047 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.1021, allocations: 111.5 kB / 0.5049 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.1022, allocations: 12.64 kB / 0.5049 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.1023, allocations: 51.42 kB / 0.5049 GB, free: 0.582 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1023, allocations: 0 / 0.5049 GB, free: 0.582 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08528/0.1875, allocations: 4.197 MB / 0.509 GB, free: 12.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/7.014, allocations: 16.95 kB / 0.509 GB, free: 12.5 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_SimpleTransistorCharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_SimpleTransistorCharacteristic.fmu) > ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_SimpleTransistorCharacteristic.fmu) > ChaoticCircuits_ChaoticCircuits.Test.SimpleTransistorCharacteristic_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.329452148638666]