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.00101/0.00101, 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.001057/0.001057, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.9637/0.9637, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.02558/0.02558, allocations: 7.119 MB / 266.3 MB, free: 6.246 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 393 MB, free: 3.234 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.381e-05, allocations: 9.094 kB / 393 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestTriode): time 0.002038/0.002052, allocations: 1.803 MB / 394.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006298/0.002682, allocations: 494.6 kB / 395.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.002749, allocations: 3.938 kB / 395.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.002788, allocations: 7.922 kB / 395.3 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.002866, allocations: 35.66 kB / 395.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.003065, allocations: 27.95 kB / 395.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003179, allocations: 91.59 kB / 395.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.003284, allocations: 24.16 kB / 395.5 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.003422, allocations: 67.81 kB / 395.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.003488, allocations: 27.91 kB / 395.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.003505, allocations: 8 kB / 395.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.00355, allocations: 11.98 kB / 395.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.003566, allocations: 19.92 kB / 395.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.003596, allocations: 27.92 kB / 395.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.003728, allocations: 95.67 kB / 395.7 MB, free: 488 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003729, allocations: 0 / 395.7 MB, free: 488 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00373, allocations: 0 / 395.7 MB, free: 488 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.003734, allocations: 4 kB / 395.7 MB, free: 484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003889/0.004123, allocations: 325.9 kB / 396 MB, free: 128 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.004159, allocations: 8.031 kB / 396.1 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.004192, allocations: 38.73 kB / 396.1 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.004279, allocations: 16.89 kB / 396.1 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.004454, allocations: 133.6 kB / 396.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.004464, allocations: 12.31 kB / 396.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.004475, allocations: 8.312 kB / 396.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.00461, allocations: 81.98 kB / 396.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.004618, allocations: 0 / 396.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.004631, allocations: 4 kB / 396.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004637, allocations: 4 kB / 396.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.004746, allocations: 47.91 kB / 396.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.00514, allocations: 346.9 kB / 396.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.526e-05/0.005206, allocations: 30.56 kB / 396.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.005238, allocations: 24.91 kB / 396.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.005248, allocations: 0 / 396.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.005266, allocations: 38.5 kB / 396.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.005267, allocations: 0 / 396.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001654/0.005432, allocations: 77.56 kB / 396.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.005461, allocations: 51.41 kB / 397 MB, free: 15.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.005542, allocations: 132.8 kB / 397.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005552, allocations: 29.7 kB / 397.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.005603, allocations: 104.1 kB / 397.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-06/0.005609, allocations: 8.078 kB / 397.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.005637, allocations: 17.72 kB / 397.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.005714, allocations: 322.8 kB / 397.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.619e-05/0.00574, allocations: 8 kB / 397.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.005776, allocations: 38.5 kB / 397.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.005834, allocations: 42.56 kB / 397.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005836, allocations: 0 / 397.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.526e-05/0.005921, allocations: 77.56 kB / 397.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005933, allocations: 11.44 kB / 397.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005937, allocations: 0 / 397.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005947, allocations: 3.938 kB / 397.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.006, allocations: 11.94 kB / 397.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.006004, allocations: 0 / 397.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.006029, allocations: 7.984 kB / 397.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.006034, allocations: 0 / 397.7 MB, free: 14.24 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 (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.861e-05/0.006093, allocations: 121.9 kB / 397.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.006107, allocations: 7.953 kB / 397.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.006126, allocations: 15.58 kB / 397.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.006128, allocations: 3.938 kB / 397.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.006132, allocations: 0 / 397.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.006134, allocations: 0 / 397.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.006253, allocations: 152.7 kB / 398 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006254, allocations: 0 / 398 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.006272, allocations: 4 kB / 398 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.006273, allocations: 3.938 kB / 398.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.006279, allocations: 7.938 kB / 398.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.00628, allocations: 3.938 kB / 398.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006281, allocations: 0 / 398.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.006394, allocations: 159.4 kB / 398.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.006404, allocations: 7.953 kB / 398.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.006414, allocations: 0 / 398.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.00645, allocations: 7.938 kB / 398.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.006476, allocations: 3.984 kB / 398.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.006479, allocations: 0 / 398.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.006523, allocations: 99.27 kB / 398.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006523, allocations: 8.031 kB / 398.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.006677, allocations: 8 kB / 398.4 MB, free: 13.56 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 (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.0002557/0.006933, allocations: 0.6851 MB / 399 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.643e-05/0.007019, allocations: 27.98 kB / 399.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.00702, allocations: 0 / 399.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.007043, allocations: 12.22 kB / 399.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.007198, allocations: 15.98 kB / 399.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.00824, allocations: 1.425 MB / 400.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.008288, allocations: 79.73 kB / 400.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.334e-05/0.008321, allocations: 8 kB / 400.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.008364, allocations: 28.48 kB / 400.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008364, allocations: 0 / 400.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07557/0.08393, allocations: 2.28 MB / 402.9 MB, free: 8.984 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.277, allocations: 10.73 kB / 402.9 MB, free: 8.977 MB / 330.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.494470058940351]