Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.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.001136/0.001136, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001232/0.001232, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9142/0.9142, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.05227/0.05227, allocations: 7.108 MB / 266.3 MB, free: 6.254 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.SimpleDiodeCharacteristic,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.SimpleDiodeCharacteristic,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 393 MB, free: 3.23 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.386e-05, allocations: 2.281 kB / 393 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleDiodeCharacteristic): time 0.002532/0.002556, allocations: 2.017 MB / 395 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000672/0.003228, allocations: 490.6 kB / 395.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.003304, allocations: 0 / 395.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.003406, allocations: 19.8 kB / 395.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.512e-05/0.003481, allocations: 47.56 kB / 395.6 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.00364, allocations: 31.97 kB / 395.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.003796, allocations: 155.2 kB / 395.7 MB, free: 472 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.003921, allocations: 29.23 kB / 395.8 MB, free: 444 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.89e-05/0.00402, allocations: 83.8 kB / 395.8 MB, free: 360 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.004088, allocations: 47.83 kB / 395.9 MB, free: 312 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.004113, allocations: 12 kB / 395.9 MB, free: 300 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.747e-05/0.00413, allocations: 12 kB / 395.9 MB, free: 288 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.004157, allocations: 27.91 kB / 395.9 MB, free: 260 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.004199, allocations: 39.92 kB / 396 MB, free: 220 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.004375, allocations: 155.5 kB / 396.1 MB, free: 64 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.004379, allocations: 4 kB / 396.1 MB, free: 60 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.00438, allocations: 0 / 396.1 MB, free: 60 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004385, allocations: 0 / 396.1 MB, free: 60 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005565/0.004941, allocations: 361.9 kB / 396.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.004985, allocations: 11.97 kB / 396.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.005027, allocations: 42.73 kB / 396.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.005064, allocations: 12.89 kB / 396.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.005287, allocations: 149.5 kB / 396.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.005297, allocations: 8.375 kB / 396.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.005311, allocations: 8.375 kB / 396.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.005527, allocations: 143.7 kB / 396.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.005536, allocations: 0 / 396.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.005552, allocations: 8 kB / 396.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.005556, allocations: 0 / 396.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.00572, allocations: 96.58 kB / 397 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.006308, allocations: 469.8 kB / 397.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.00651, allocations: 82.53 kB / 397.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.006569, allocations: 28.84 kB / 397.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.006582, allocations: 7.984 kB / 397.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.006605, allocations: 38.56 kB / 397.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.031e-06/0.006606, allocations: 0 / 397.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004597/0.007066, allocations: 174.3 kB / 397.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.007091, allocations: 55.41 kB / 397.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.007186, allocations: 150.1 kB / 397.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.007199, allocations: 29.7 kB / 398 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.007251, allocations: 119.9 kB / 398.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.138e-05/0.007262, allocations: 19.84 kB / 398.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.007296, allocations: 25.66 kB / 398.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.00738, allocations: 326.7 kB / 398.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.007439, allocations: 27.97 kB / 398.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.007508, allocations: 58.45 kB / 398.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.007626, allocations: 78.55 kB / 398.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007627, allocations: 0 / 398.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002145/0.007842, allocations: 142.3 kB / 398.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.007856, allocations: 7.438 kB / 398.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007861, allocations: 64 / 398.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.008016, allocations: 44.77 kB / 398.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.00806, allocations: 15.98 kB / 398.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009763/0.009036, allocations: 1.367 MB / 400.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.009084, allocations: 19.89 kB / 400.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.009092, allocations: 8.062 kB / 400.2 MB, free: 11.61 MB / 330.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.009163, allocations: 125.7 kB / 400.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.00918, allocations: 7.953 kB / 400.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.009366, allocations: 127 kB / 400.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.009367, allocations: 0 / 400.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.009369, allocations: 3.938 kB / 400.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009373, allocations: 8.125 kB / 400.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.009512, allocations: 172.7 kB / 400.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.009517, allocations: 7.969 kB / 400.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.009542, allocations: 4 kB / 400.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.326e-05/0.009615, allocations: 32.83 kB / 400.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.009622, allocations: 4 kB / 400.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007609/0.01038, allocations: 1.399 MB / 402.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.01039, allocations: 8.094 kB / 402.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.0106, allocations: 228.3 kB / 402.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.01061, allocations: 11.89 kB / 402.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.01062, allocations: 4 kB / 402.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.01075, allocations: 7.984 kB / 402.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.01078, allocations: 11.98 kB / 402.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01079, allocations: 3.938 kB / 402.4 MB, free: 9.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.231e-05/0.01084, allocations: 114.2 kB / 402.5 MB, free: 9.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01084, allocations: 0 / 402.5 MB, free: 9.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.01102, allocations: 31.95 kB / 402.5 MB, free: 9.117 MB / 330.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 (3): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003796/0.0114, allocations: 0.756 MB / 403.3 MB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01169, allocations: 190.6 kB / 403.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01169, allocations: 0 / 403.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.0118, allocations: 158.6 kB / 403.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.012, allocations: 15.98 kB / 403.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.01355, allocations: 1.686 MB / 405.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.682e-05/0.01361, allocations: 101.2 kB / 405.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.01364, allocations: 8.625 kB / 405.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.01368, allocations: 36.48 kB / 405.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01368, allocations: 0 / 405.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08135/0.09503, allocations: 3.659 MB / 409.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.128, allocations: 2.438 kB / 409.1 MB, free: 2.469 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic.fmu) > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_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_SimpleDiodeCharacteristic.fmu) > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.500798891298473]