Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.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.0007693/0.0007693, 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.0008045/0.0008045, allocations: 169.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.8995/0.8995, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.0255/0.0255, allocations: 7.114 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.TestZenerDiodePair,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestZenerDiodePair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestZenerDiodePair,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestZenerDiodePair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 393 MB, free: 3.227 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.225e-05, allocations: 2.281 kB / 393 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestZenerDiodePair): time 0.003774/0.003796, allocations: 2.41 MB / 395.4 MB, free: 0.793 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.005141, allocations: 0.6192 MB / 396 MB, free: 176 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.005313, allocations: 4 kB / 396 MB, free: 172 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.00547, allocations: 39.64 kB / 396.1 MB, free: 132 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.00564, allocations: 67.34 kB / 396.1 MB, free: 64 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.006059, allocations: 95.84 kB / 396.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.006446, allocations: 318.6 kB / 396.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.006643, allocations: 60.48 kB / 396.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.006914, allocations: 167.7 kB / 396.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.007096, allocations: 115.7 kB / 396.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.007154, allocations: 31.94 kB / 396.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.396e-05/0.007198, allocations: 28 kB / 396.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.007257, allocations: 59.8 kB / 397 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.007361, allocations: 87.81 kB / 397.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.007724, allocations: 314.9 kB / 397.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.007729, allocations: 0 / 397.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00773, allocations: 0 / 397.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.00774, allocations: 4 kB / 397.4 MB, free: 14.8 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00152/0.00926, allocations: 0.54 MB / 397.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.656e-05/0.009337, allocations: 8.031 kB / 397.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.009443, allocations: 54.67 kB / 398 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.009497, allocations: 24.8 kB / 398 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.0098, allocations: 181.4 kB / 398.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.009818, allocations: 12.31 kB / 398.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.009843, allocations: 20.36 kB / 398.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.01037, allocations: 301.8 kB / 398.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01038, allocations: 3.984 kB / 398.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.0104, allocations: 8 kB / 398.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.0104, allocations: 4 kB / 398.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.01087, allocations: 272.7 kB / 398.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009803/0.01185, allocations: 0.9464 MB / 399.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.01284, allocations: 434.3 kB / 400.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.01313, allocations: 140.8 kB / 400.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.01315, allocations: 0 / 400.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.01317, allocations: 34.56 kB / 400.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.01317, allocations: 0 / 400.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.002393/0.01556, allocations: 0.9506 MB / 401.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.01559, allocations: 55.34 kB / 401.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.01571, allocations: 188.2 kB / 401.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.01573, allocations: 33.7 kB / 401.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.0158, allocations: 144.3 kB / 401.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.01583, allocations: 35.69 kB / 401.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.01588, allocations: 29.7 kB / 401.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.01597, allocations: 322.8 kB / 402.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.01617, allocations: 107.9 kB / 402.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.01638, allocations: 130.4 kB / 402.3 MB, free: 9.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.01677, allocations: 226.7 kB / 402.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01677, allocations: 4 kB / 402.5 MB, free: 9.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001433/0.01821, allocations: 0.6189 MB / 403.2 MB, free: 8.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01822, allocations: 8 kB / 403.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01823, allocations: 4.062 kB / 403.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004174/0.01864, allocations: 220.6 kB / 403.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.01872, allocations: 19.98 kB / 403.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.0239, allocations: 2.62 MB / 406 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.0241, allocations: 35.95 kB / 406.1 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.02412, allocations: 7.984 kB / 406.1 MB, free: 5.742 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 (9): * Single equations (assignments): 8 * 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 0.0001175/0.02424, allocations: 133 kB / 406.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.02428, allocations: 15.84 kB / 406.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.02432, allocations: 21.53 kB / 406.2 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02432, allocations: 4 kB / 406.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.02433, allocations: 0 / 406.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.02433, allocations: 3.984 kB / 406.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.02658, allocations: 0.9361 MB / 407.2 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02658, allocations: 0 / 407.2 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.02665, allocations: 27.91 kB / 407.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003605/0.02701, allocations: 216.7 kB / 407.4 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.02703, allocations: 11.98 kB / 407.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.03091, allocations: 2.608 MB / 410 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.03091, allocations: 192 / 410 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.03244, allocations: 0.7192 MB / 410.8 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.03247, allocations: 15.91 kB / 410.8 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.03249, allocations: 3.984 kB / 410.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.03264, allocations: 31.91 kB / 410.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.0327, allocations: 11.98 kB / 410.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.03272, allocations: 11.92 kB / 410.8 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.347e-05/0.03281, allocations: 135.2 kB / 411 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03281, allocations: 0 / 411 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.03314, allocations: 71.89 kB / 411 MB, free: 0.5742 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.1324/0.1655, allocations: 1.239 MB / 412.3 MB, free: 30.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009862/0.1665, allocations: 447.5 kB / 412.7 MB, free: 30.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1665, allocations: 0 / 412.7 MB, free: 30.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.1671, allocations: 327.5 kB / 413 MB, free: 29.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1673, allocations: 29.41 kB / 413.1 MB, free: 29.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.1719, allocations: 3.11 MB / 416.2 MB, free: 28.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.857e-05/0.1719, allocations: 123.2 kB / 416.3 MB, free: 28.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.172, allocations: 13.14 kB / 416.3 MB, free: 28.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.1721, allocations: 60.58 kB / 416.4 MB, free: 28.39 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1721, allocations: 0 / 416.4 MB, free: 28.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.2737, allocations: 7.273 MB / 423.6 MB, free: 26.37 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.269, allocations: 4.125 kB / 423.6 MB, free: 26.37 MB / 330.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestZenerDiodePair_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestZenerDiodePair.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../ChaoticCircuits_ChaoticCircuits_Test_TestZenerDiodePair.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestZenerDiodePair_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.408330291509628]