Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestNIC.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.0008041/0.0008041, 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.000955/0.000955, allocations: 170.3 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.933/0.933, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.02798/0.02798, allocations: 7.118 MB / 266.3 MB, free: 6.262 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.TestNIC,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestNIC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestNIC,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestNIC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 393 MB, free: 3.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.977e-05, allocations: 10.22 kB / 393 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestNIC): time 0.004573/0.004593, allocations: 3.229 MB / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.006403, allocations: 1.008 MB / 397.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.006614, allocations: 11.94 kB / 397.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.00702, allocations: 119 kB / 397.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.007271, allocations: 142.8 kB / 397.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.007594, allocations: 139.7 kB / 397.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.008178, allocations: 0.5523 MB / 398.2 MB, free: 14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.008443, allocations: 126.5 kB / 398.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.008806, allocations: 315.3 kB / 398.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.009035, allocations: 163.5 kB / 398.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.009111, allocations: 56 kB / 398.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.482e-05/0.009185, allocations: 60 kB / 398.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.009282, allocations: 115.6 kB / 399 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.009473, allocations: 167.6 kB / 399.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.01011, allocations: 0.5921 MB / 399.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01011, allocations: 0 / 399.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01012, allocations: 0 / 399.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.01012, allocations: 3.938 kB / 399.8 MB, free: 12.41 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001352/0.01148, allocations: 0.6989 MB / 400.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.01152, allocations: 12.03 kB / 400.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.567e-05/0.01161, allocations: 66.72 kB / 400.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.0117, allocations: 48.66 kB / 400.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.01222, allocations: 304.4 kB / 400.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.01225, allocations: 25.03 kB / 400.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.0123, allocations: 40.31 kB / 401 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.0131, allocations: 0.5221 MB / 401.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.01311, allocations: 0 / 401.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.01315, allocations: 16 kB / 401.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01315, allocations: 8 kB / 401.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.01372, allocations: 322.4 kB / 401.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.01507, allocations: 1.179 MB / 403 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.01558, allocations: 290.6 kB / 403.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.01591, allocations: 180.7 kB / 403.5 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.01593, allocations: 4 kB / 403.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.01626, allocations: 299.1 kB / 403.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.01626, allocations: 0 / 403.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001074/0.01734, allocations: 0.5489 MB / 404.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.01741, allocations: 187.9 kB / 404.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.01766, allocations: 332.5 kB / 404.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.01768, allocations: 41.64 kB / 404.8 MB, free: 7.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01779, allocations: 216.4 kB / 405.1 MB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.01783, allocations: 67.42 kB / 405.1 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.01791, allocations: 53.66 kB / 405.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01802, allocations: 350.7 kB / 405.5 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.01824, allocations: 137.6 kB / 405.7 MB, free: 6.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.01854, allocations: 363.5 kB / 406 MB, free: 5.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.01894, allocations: 282.4 kB / 406.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01894, allocations: 4 kB / 406.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006304/0.01957, allocations: 477.4 kB / 406.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.0196, allocations: 41.14 kB / 406.8 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01961, allocations: 3.984 kB / 406.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.01985, allocations: 76.8 kB / 406.9 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01998, allocations: 55.89 kB / 406.9 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.02161, allocations: 1.978 MB / 408.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.0218, allocations: 59.73 kB / 409 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.02182, allocations: 12.17 kB / 409 MB, free: 2.637 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (improvedNIC.opAmp.limiter.satNeg,improvedNIC.opAmp.limiter.satPos,source.signalSource.count,$PRE.source.signalSource.count,source.signalSource.T_start,$PRE.source.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.02195, allocations: 169.8 kB / 409.1 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.02198, allocations: 35.75 kB / 409.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.02201, allocations: 34.41 kB / 409.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.02201, allocations: 4 kB / 409.2 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.02202, allocations: 0 / 409.2 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.02202, allocations: 3.938 kB / 409.2 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.02289, allocations: 0.7706 MB / 410 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.0229, allocations: 0 / 410 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.023, allocations: 43.89 kB / 410 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.02317, allocations: 84.78 kB / 410.1 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.02318, allocations: 4 kB / 410.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1378/0.161, allocations: 1.958 MB / 412.1 MB, free: 29.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.161, allocations: 1.094 kB / 412.1 MB, free: 29.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.1617, allocations: 456.8 kB / 412.5 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.1618, allocations: 43.97 kB / 412.6 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1618, allocations: 5.875 kB / 412.6 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.162, allocations: 43.55 kB / 412.6 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.1621, allocations: 31.69 kB / 412.6 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1621, allocations: 14.53 kB / 412.7 MB, free: 29.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.1623, allocations: 231.6 kB / 412.9 MB, free: 29.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1623, allocations: 0 / 412.9 MB, free: 29.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.1627, allocations: 109.5 kB / 413 MB, free: 29.04 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: 5 ($whenCondition1,source.signalSource.T_start,source.signalSource.count,improvedNIC.opAmp.limiter.satPos,improvedNIC.opAmp.limiter.satNeg) * Number of discrete states: 1 (source.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007248/0.1634, allocations: 0.9871 MB / 414 MB, free: 28.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006887/0.1641, allocations: 489.7 kB / 414.5 MB, free: 28.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1641, allocations: 5.094 kB / 414.5 MB, free: 28.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.1644, allocations: 268.9 kB / 414.7 MB, free: 28.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1647, allocations: 59.8 kB / 414.8 MB, free: 27.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.1684, allocations: 3.628 MB / 418.4 MB, free: 25.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.1685, allocations: 183.4 kB / 418.6 MB, free: 25.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1686, allocations: 29.06 kB / 418.6 MB, free: 25.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.1687, allocations: 114.7 kB / 418.7 MB, free: 25.59 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1687, allocations: 3.938 kB / 418.7 MB, free: 25.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08551/0.2542, allocations: 9.66 MB / 428.4 MB, free: 22.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/8.61, allocations: 3.938 kB / 428.4 MB, free: 22.52 MB / 330.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestNIC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestNIC_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestNIC.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestNIC.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestNIC_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_TestNIC.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestNIC_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.908213736489415]