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.0009954/0.0009954, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001118/0.001118, allocations: 212.7 kB / 22.25 MB, free: 3.57 MB / 13.93 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 1.023/1.023, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.02764/0.02764, allocations: 9.552 MB / 322 MB, free: 8.57 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: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009399/0.0009399, allocations: 71.89 kB / 448.6 MB, free: 37.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08106, allocations: 55.78 MB / 0.4926 GB, free: 13.87 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestZenerDiodePair): time 0.002724/0.08378, allocations: 2.407 MB / 0.4949 GB, free: 11.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.08499, allocations: 0.6233 MB / 0.4955 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.08513, allocations: 7.938 kB / 0.4955 GB, free: 10.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.08526, allocations: 31.66 kB / 0.4956 GB, free: 10.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.08538, allocations: 63.42 kB / 0.4956 GB, free: 10.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.08567, allocations: 91.88 kB / 0.4957 GB, free: 10.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.08592, allocations: 306.8 kB / 0.496 GB, free: 10.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.08606, allocations: 61.3 kB / 0.4961 GB, free: 10.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.08618, allocations: 123.6 kB / 0.4962 GB, free: 10.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.08631, allocations: 131.5 kB / 0.4963 GB, free: 10.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.08634, allocations: 28 kB / 0.4963 GB, free: 9.992 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.954e-05/0.08637, allocations: 28 kB / 0.4964 GB, free: 9.965 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.08641, allocations: 55.81 kB / 0.4964 GB, free: 9.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.08648, allocations: 107.6 kB / 0.4965 GB, free: 9.805 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.0867, allocations: 298.8 kB / 0.4968 GB, free: 9.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.0867, allocations: 3.984 kB / 0.4968 GB, free: 9.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.08671, allocations: 0 / 0.4968 GB, free: 9.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.08671, allocations: 4 kB / 0.4968 GB, free: 9.504 MB / 362.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.0008232/0.08753, allocations: 0.5322 MB / 0.4973 GB, free: 8.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.08758, allocations: 8.031 kB / 0.4973 GB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.08762, allocations: 54.73 kB / 0.4974 GB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.08767, allocations: 24.8 kB / 0.4974 GB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.08792, allocations: 186.1 kB / 0.4976 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.08794, allocations: 16.38 kB / 0.4976 GB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.08796, allocations: 15.94 kB / 0.4976 GB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.08838, allocations: 297.5 kB / 0.4979 GB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.08838, allocations: 0 / 0.4979 GB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.0884, allocations: 8 kB / 0.4979 GB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.08841, allocations: 7.938 kB / 0.4979 GB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.0891, allocations: 272.7 kB / 0.4982 GB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.09029, allocations: 0.9537 MB / 0.4991 GB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000931/0.09122, allocations: 430.3 kB / 0.4995 GB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.09148, allocations: 144.7 kB / 0.4997 GB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.0915, allocations: 3.938 kB / 0.4997 GB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.09151, allocations: 42.5 kB / 0.4997 GB, free: 6.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.09152, allocations: 3.984 kB / 0.4997 GB, free: 6.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.002258/0.09377, allocations: 0.9389 MB / 0.5006 GB, free: 5.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.0938, allocations: 55.41 kB / 0.5007 GB, free: 5.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.09391, allocations: 178.9 kB / 0.5008 GB, free: 5.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.09393, allocations: 33.7 kB / 0.5009 GB, free: 5.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.09399, allocations: 144.2 kB / 0.501 GB, free: 4.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.09402, allocations: 35.69 kB / 0.501 GB, free: 4.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.09407, allocations: 33.69 kB / 0.5011 GB, free: 4.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.09414, allocations: 322.8 kB / 0.5014 GB, free: 4.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.09434, allocations: 111.9 kB / 0.5015 GB, free: 4.469 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.09453, allocations: 126.4 kB / 0.5016 GB, free: 4.336 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.0949, allocations: 222.4 kB / 0.5018 GB, free: 4.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.09491, allocations: 4 kB / 0.5018 GB, free: 4.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001332/0.09624, allocations: 0.6231 MB / 0.5024 GB, free: 3.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.09625, allocations: 6.188 kB / 0.5024 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09626, allocations: 4.062 kB / 0.5024 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004131/0.09667, allocations: 220.6 kB / 0.5027 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.09674, allocations: 27.92 kB / 0.5027 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/0.1004, allocations: 2.616 MB / 0.5052 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1006, allocations: 35.92 kB / 0.5053 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1006, allocations: 4 kB / 0.5053 GB, free: 460 kB / 362.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 8.386e-05/0.1007, allocations: 133.7 kB / 0.5054 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.1007, allocations: 19.97 kB / 0.5054 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.1007, allocations: 17.41 kB / 0.5054 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1007, allocations: 0 / 0.5054 GB, free: 276 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.1007, allocations: 3.938 kB / 0.5054 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1007, allocations: 3.984 kB / 0.5055 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.1023, allocations: 0.9515 MB / 0.5064 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1024, allocations: 0 / 0.5064 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.1024, allocations: 23.97 kB / 0.5064 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003379/0.1027, allocations: 224.7 kB / 0.5066 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1028, allocations: 3.984 kB / 0.5066 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.106, allocations: 2.608 MB / 0.5092 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.106, allocations: 0 / 0.5092 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.1074, allocations: 0.7156 MB / 0.5099 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.1074, allocations: 15.94 kB / 0.5099 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.1074, allocations: 11.92 kB / 0.5099 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.1076, allocations: 31.97 kB / 0.5099 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.1076, allocations: 7.984 kB / 0.5099 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1076, allocations: 7.984 kB / 0.5099 GB, free: 11.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.105e-05/0.1077, allocations: 131.2 kB / 0.5101 GB, free: 11.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1077, allocations: 4 kB / 0.5101 GB, free: 11.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.108, allocations: 67.89 kB / 0.5101 GB, free: 11.27 MB / 378.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.001539/0.1095, allocations: 1.249 MB / 0.5114 GB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000864/0.1104, allocations: 458.4 kB / 0.5118 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1104, allocations: 0 / 0.5118 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.1109, allocations: 322.5 kB / 0.5121 GB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.1114, allocations: 27.98 kB / 0.5121 GB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.1156, allocations: 3.112 MB / 0.5152 GB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.1157, allocations: 121 kB / 0.5153 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.1157, allocations: 16.72 kB / 0.5153 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.1158, allocations: 63.41 kB / 0.5154 GB, free: 5.727 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1158, allocations: 0 / 0.5154 GB, free: 5.727 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09204/0.2078, allocations: 7.125 MB / 0.5223 GB, free: 14.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.133, allocations: 6.484 kB / 0.5223 GB, free: 14.71 MB / 394.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.5138024892658]