Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.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.001196/0.001196, 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.001403/0.001403, 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.936/0.936, 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.02527/0.02527, allocations: 7.125 MB / 266.3 MB, free: 6.25 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.TestHystereticNIC,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestHystereticNIC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestHystereticNIC,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestHystereticNIC",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.402e-05/1.548e-05, allocations: 2.281 kB / 393 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestHystereticNIC): time 0.002148/0.002164, allocations: 2.052 MB / 395 MB, free: 1.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.002899, allocations: 0.5997 MB / 395.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.002957, allocations: 7.938 kB / 395.7 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.003146, allocations: 47.69 kB / 395.7 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.003203, allocations: 51.56 kB / 395.8 MB, free: 464 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.003353, allocations: 47.83 kB / 395.8 MB, free: 416 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.003526, allocations: 199.2 kB / 396 MB, free: 216 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003637, allocations: 25.8 kB / 396 MB, free: 192 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.003765, allocations: 107.8 kB / 396.1 MB, free: 84 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.003852, allocations: 63.8 kB / 396.2 MB, free: 20 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.003895, allocations: 24.05 kB / 396.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.003916, allocations: 20 kB / 396.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.003949, allocations: 39.78 kB / 396.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.004001, allocations: 47.91 kB / 396.3 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.004179, allocations: 203.4 kB / 396.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004181, allocations: 0 / 396.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004182, allocations: 0 / 396.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004186, allocations: 0 / 396.5 MB, free: 15.69 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006319/0.004817, allocations: 439.2 kB / 396.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.004855, allocations: 8.031 kB / 397 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.004892, allocations: 46.67 kB / 397 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.004932, allocations: 20.84 kB / 397 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.005058, allocations: 150.3 kB / 397.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.005075, allocations: 8.375 kB / 397.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.00509, allocations: 4.375 kB / 397.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.00532, allocations: 137.2 kB / 397.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.005328, allocations: 7.984 kB / 397.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.00534, allocations: 4 kB / 397.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.005347, allocations: 7.984 kB / 397.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.0056, allocations: 123.8 kB / 397.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.006173, allocations: 438.7 kB / 397.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.006437, allocations: 130.5 kB / 398 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.006553, allocations: 52.94 kB / 398.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.006564, allocations: 4 kB / 398.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.006779, allocations: 119.3 kB / 398.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.00678, allocations: 0 / 398.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004197/0.0072, allocations: 209.3 kB / 398.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.00723, allocations: 59.41 kB / 398.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.007361, allocations: 187 kB / 398.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.007376, allocations: 29.7 kB / 398.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.007439, allocations: 124.1 kB / 398.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.007454, allocations: 23.83 kB / 398.8 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.007499, allocations: 25.72 kB / 398.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.007575, allocations: 322.8 kB / 399.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.007713, allocations: 89.64 kB / 399.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.007854, allocations: 116.2 kB / 399.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.008083, allocations: 156.1 kB / 399.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008085, allocations: 0 / 399.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003076/0.008392, allocations: 244.9 kB / 399.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.008416, allocations: 37.64 kB / 399.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008421, allocations: 3.938 kB / 399.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.008431, allocations: 0 / 399.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.008524, allocations: 23.97 kB / 399.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.008528, allocations: 0 / 399.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.325e-05/0.008622, allocations: 35.98 kB / 399.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.008631, allocations: 4 kB / 399.8 MB, free: 12.11 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: 7 (hystereticNIC.rh,$PRE.hystereticNIC.rh,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 (10): * Single equations (assignments): 9 * 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 7.155e-05/0.008702, allocations: 122.9 kB / 400 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.008718, allocations: 15.89 kB / 400 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.008742, allocations: 21.41 kB / 400 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.008744, allocations: 0 / 400 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008747, allocations: 0 / 400 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.00875, allocations: 256 / 400 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.008871, allocations: 180.7 kB / 400.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008872, allocations: 11.88 kB / 400.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.008929, allocations: 19.98 kB / 400.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.00893, allocations: 0 / 400.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.00894, allocations: 7.922 kB / 400.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00894, allocations: 0 / 400.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.008941, allocations: 4 kB / 400.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.0092, allocations: 173 kB / 400.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.009219, allocations: 19.84 kB / 400.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.00924, allocations: 11.92 kB / 400.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.00931, allocations: 19.97 kB / 400.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.009365, allocations: 19.97 kB / 400.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.009371, allocations: 0 / 400.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.154e-05/0.009453, allocations: 139.2 kB / 400.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009453, allocations: 0 / 400.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.009607, allocations: 31.95 kB / 400.6 MB, free: 11.25 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: 4 ($whenCondition1,source.signalSource.T_start,source.signalSource.count,hystereticNIC.rh) * Number of discrete states: 2 (hystereticNIC.rh,source.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004265/0.01003, allocations: 0.7178 MB / 401.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.01035, allocations: 224.9 kB / 401.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01035, allocations: 0 / 401.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.01048, allocations: 64.06 kB / 401.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.01064, allocations: 24.17 kB / 401.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.01258, allocations: 2.126 MB / 403.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.719e-05/0.01263, allocations: 97.62 kB / 403.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.01268, allocations: 8.641 kB / 403.9 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.01274, allocations: 40.48 kB / 403.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01274, allocations: 4 kB / 403.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07685/0.0896, allocations: 4.572 MB / 408.5 MB, free: 3.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.405, allocations: 0 / 408.5 MB, free: 3.34 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestHystereticNIC_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestHystereticNIC.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC_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_TestHystereticNIC.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestHystereticNIC_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.807925601489842]