Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.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.0008164/0.0008164, 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.0008715/0.0008715, 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.9327/0.9327, allocations: 177.1 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.03058/0.03058, allocations: 7.115 MB / 266.3 MB, free: 6.238 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.TestOpAmpTriode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestOpAmpTriode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 393 MB, free: 3.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.07e-05, allocations: 6.281 kB / 393 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestOpAmpTriode): time 0.003595/0.003615, allocations: 3.353 MB / 396.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.005089, allocations: 0.8372 MB / 397.2 MB, free: 15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.005392, allocations: 15.94 kB / 397.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.005618, allocations: 83.11 kB / 397.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.005904, allocations: 130.8 kB / 397.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.006264, allocations: 139.8 kB / 397.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004968/0.00676, allocations: 0.5683 MB / 398.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.007065, allocations: 200.7 kB / 398.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.00738, allocations: 327.3 kB / 398.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.007572, allocations: 175.4 kB / 398.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.007633, allocations: 56 kB / 398.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.00769, allocations: 60 kB / 398.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.007766, allocations: 123.6 kB / 399 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.007906, allocations: 187.5 kB / 399.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.008373, allocations: 0.6114 MB / 399.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.008379, allocations: 4 kB / 399.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.008381, allocations: 3.938 kB / 399.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.008391, allocations: 4 kB / 399.9 MB, free: 12.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001003/0.009394, allocations: 0.7077 MB / 400.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.009435, allocations: 16.03 kB / 400.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.432e-05/0.00951, allocations: 90.64 kB / 400.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.009582, allocations: 56.61 kB / 400.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.009933, allocations: 281.8 kB / 401 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.009957, allocations: 33.31 kB / 401 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.009994, allocations: 48.38 kB / 401.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.01065, allocations: 0.6728 MB / 401.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.01066, allocations: 4 kB / 401.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.0107, allocations: 28 kB / 401.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.01071, allocations: 12 kB / 401.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.01117, allocations: 351.8 kB / 402.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.01287, allocations: 1.507 MB / 403.6 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.01323, allocations: 230.7 kB / 403.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.01335, allocations: 88.81 kB / 404 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.01338, allocations: 4 kB / 404 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.0134, allocations: 38.56 kB / 404 MB, free: 7.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.01341, allocations: 0 / 404 MB, free: 7.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001003/0.01441, allocations: 0.5044 MB / 404.5 MB, free: 7.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.01447, allocations: 166.2 kB / 404.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.01473, allocations: 316.4 kB / 405 MB, free: 6.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.01475, allocations: 33.7 kB / 405 MB, free: 6.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.01488, allocations: 288 kB / 405.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.01491, allocations: 75.38 kB / 405.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.01499, allocations: 73.61 kB / 405.4 MB, free: 6.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.01508, allocations: 342.8 kB / 405.8 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.01521, allocations: 91.95 kB / 405.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.01543, allocations: 344.9 kB / 406.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.01573, allocations: 307.8 kB / 406.5 MB, free: 5.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01574, allocations: 4 kB / 406.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005472/0.01628, allocations: 428.5 kB / 406.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.0163, allocations: 15.94 kB / 406.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01631, allocations: 4 kB / 406.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.01659, allocations: 92.78 kB / 407 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01672, allocations: 63.84 kB / 407.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.0187, allocations: 2.006 MB / 409.1 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.01893, allocations: 63.69 kB / 409.2 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.01895, allocations: 19.94 kB / 409.2 MB, free: 2.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (opAmp.limiter.satNeg,opAmp.limiter.satPos,multiplier.limiter2.satNeg,multiplier.limiter2.satPos,multiplier.limiter1.satNeg,multiplier.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.01914, allocations: 173.8 kB / 409.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.01919, allocations: 35.81 kB / 409.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.01923, allocations: 34.45 kB / 409.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01924, allocations: 7.938 kB / 409.4 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01924, allocations: 0 / 409.4 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.01925, allocations: 7.984 kB / 409.4 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.01962, allocations: 344.8 kB / 409.8 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01962, allocations: 0 / 409.8 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.01969, allocations: 19.98 kB / 409.8 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.01989, allocations: 104.6 kB / 409.9 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.0199, allocations: 4 kB / 409.9 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.152/0.1719, allocations: 1.985 MB / 411.9 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1719, allocations: 0.6094 kB / 411.9 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.1726, allocations: 411.2 kB / 412.3 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1727, allocations: 55.62 kB / 412.3 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.1727, allocations: 6.406 kB / 412.3 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.173, allocations: 44.23 kB / 412.4 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.173, allocations: 26.97 kB / 412.4 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.173, allocations: 6.766 kB / 412.4 MB, free: 29.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.1733, allocations: 215.3 kB / 412.6 MB, free: 29 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1733, allocations: 1.422 kB / 412.6 MB, free: 29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005722/0.1738, allocations: 130.5 kB / 412.8 MB, free: 29 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: 6 (multiplier.limiter1.satPos,multiplier.limiter1.satNeg,multiplier.limiter2.satPos,multiplier.limiter2.satNeg,opAmp.limiter.satPos,opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007426/0.1746, allocations: 0.9434 MB / 413.7 MB, free: 28.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006369/0.1752, allocations: 386.2 kB / 414.1 MB, free: 28.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1752, allocations: 0 / 414.1 MB, free: 28.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.1755, allocations: 256 kB / 414.3 MB, free: 28.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1759, allocations: 54.33 kB / 414.4 MB, free: 28.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.18, allocations: 3.386 MB / 417.8 MB, free: 25.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1802, allocations: 203.9 kB / 418 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.1803, allocations: 41.38 kB / 418 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1805, allocations: 133.5 kB / 418.1 MB, free: 25.7 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1805, allocations: 0 / 418.1 MB, free: 25.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09012/0.2706, allocations: 8.882 MB / 427 MB, free: 23.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.525, allocations: 8.266 kB / 427 MB, free: 23.14 MB / 330.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestOpAmpTriode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_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_TestOpAmpTriode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestOpAmpTriode_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.813741723075509]