Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.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.0007843/0.0007843, allocations: 101.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.0009136/0.0009136, allocations: 221.8 kB / 22.25 MB, free: 3.559 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 0.985/0.985, allocations: 230.6 MB / 256 MB, free: 9.598 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.02759/0.02759, allocations: 9.538 MB / 322 MB, free: 8.477 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.SimpleDiodeCharacteristic,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.SimpleDiodeCharacteristic,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic",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.0009935/0.0009935, allocations: 67.89 kB / 448.6 MB, free: 37.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07986, allocations: 55.79 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.SimpleDiodeCharacteristic): time 0.002695/0.08256, allocations: 2.013 MB / 0.4945 GB, free: 11.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006501/0.08321, allocations: 482.7 kB / 0.495 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.919e-05/0.08329, allocations: 7.938 kB / 0.495 GB, free: 11.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.08339, allocations: 15.86 kB / 0.495 GB, free: 11.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.08346, allocations: 35.64 kB / 0.4951 GB, free: 11.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.0836, allocations: 35.95 kB / 0.4951 GB, free: 11.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.08375, allocations: 147.4 kB / 0.4952 GB, free: 11.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.08386, allocations: 33.52 kB / 0.4953 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.08394, allocations: 59.73 kB / 0.4953 GB, free: 11.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.08401, allocations: 51.77 kB / 0.4954 GB, free: 10.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.08403, allocations: 12 kB / 0.4954 GB, free: 10.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.08404, allocations: 12 kB / 0.4954 GB, free: 10.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.08407, allocations: 31.84 kB / 0.4954 GB, free: 10.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.08411, allocations: 59.72 kB / 0.4955 GB, free: 10.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.08426, allocations: 139.4 kB / 0.4956 GB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.08426, allocations: 0 / 0.4956 GB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08426, allocations: 0 / 0.4956 GB, free: 10.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.08427, allocations: 0 / 0.4956 GB, free: 10.71 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004522/0.08472, allocations: 365.7 kB / 0.496 GB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.08476, allocations: 12.03 kB / 0.496 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.08479, allocations: 46.73 kB / 0.496 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.08482, allocations: 12.89 kB / 0.496 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.08502, allocations: 142.2 kB / 0.4962 GB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.08503, allocations: 12.38 kB / 0.4962 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.08504, allocations: 11.94 kB / 0.4962 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.08525, allocations: 147.3 kB / 0.4963 GB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.08525, allocations: 0 / 0.4963 GB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.08527, allocations: 8 kB / 0.4963 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.08527, allocations: 0 / 0.4963 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.08541, allocations: 87.94 kB / 0.4964 GB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.08597, allocations: 485.4 kB / 0.4969 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.08616, allocations: 66.61 kB / 0.4969 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.922e-05/0.08622, allocations: 36.83 kB / 0.497 GB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.08623, allocations: 0 / 0.497 GB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.08625, allocations: 34.56 kB / 0.497 GB, free: 9.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.08625, allocations: 0 / 0.497 GB, free: 9.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004509/0.0867, allocations: 186.3 kB / 0.4972 GB, free: 8.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.08673, allocations: 55.34 kB / 0.4972 GB, free: 8.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.08683, allocations: 142.2 kB / 0.4974 GB, free: 8.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.08685, allocations: 25.7 kB / 0.4974 GB, free: 8.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.0869, allocations: 127.9 kB / 0.4975 GB, free: 8.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.08691, allocations: 23.83 kB / 0.4975 GB, free: 8.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.08695, allocations: 29.61 kB / 0.4976 GB, free: 8.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.08703, allocations: 318.8 kB / 0.4979 GB, free: 8.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.08708, allocations: 31.97 kB / 0.4979 GB, free: 8.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.08714, allocations: 46.5 kB / 0.498 GB, free: 8.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.08725, allocations: 78.53 kB / 0.498 GB, free: 8.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.08725, allocations: 3.938 kB / 0.498 GB, free: 8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002035/0.08746, allocations: 142.3 kB / 0.4982 GB, free: 7.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.08747, allocations: 7.938 kB / 0.4982 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.08748, allocations: 0 / 0.4982 GB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.08762, allocations: 36.83 kB / 0.4982 GB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.08766, allocations: 20.05 kB / 0.4982 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009323/0.0886, allocations: 1.368 MB / 0.4996 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.08864, allocations: 19.88 kB / 0.4996 GB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.08865, allocations: 7.938 kB / 0.4996 GB, free: 6.262 MB / 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 (6): * Single equations (assignments): 5 * 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 6.737e-05/0.08872, allocations: 117.8 kB / 0.4997 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.08874, allocations: 12.02 kB / 0.4997 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.08893, allocations: 138.8 kB / 0.4998 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.08893, allocations: 0 / 0.4998 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.08893, allocations: 0 / 0.4998 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.08893, allocations: 0 / 0.4998 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.08931, allocations: 168.7 kB / 0.5 GB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.08931, allocations: 4 kB / 0.5 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.08934, allocations: 7.984 kB / 0.5 GB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-05/0.08941, allocations: 33.03 kB / 0.5 GB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.08942, allocations: 11.92 kB / 0.5001 GB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007059/0.09012, allocations: 1.398 MB / 0.5014 GB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09013, allocations: 128 / 0.5014 GB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.09032, allocations: 236.3 kB / 0.5017 GB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.09033, allocations: 3.953 kB / 0.5017 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.09034, allocations: 7.984 kB / 0.5017 GB, free: 3.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.09039, allocations: 11.94 kB / 0.5017 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.09043, allocations: 7.984 kB / 0.5017 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.09043, allocations: 0 / 0.5017 GB, free: 3.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.332e-05/0.09048, allocations: 117.5 kB / 0.5018 GB, free: 3.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09048, allocations: 7.875 kB / 0.5018 GB, free: 3.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.09067, allocations: 35.89 kB / 0.5018 GB, free: 3.758 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003745/0.09104, allocations: 0.7484 MB / 0.5026 GB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.09131, allocations: 194.5 kB / 0.5028 GB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.09131, allocations: 0 / 0.5028 GB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.09142, allocations: 162.7 kB / 0.5029 GB, free: 2.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.09162, allocations: 10.19 kB / 0.5029 GB, free: 2.594 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.09298, allocations: 1.71 MB / 0.5046 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.98e-05/0.09304, allocations: 89.19 kB / 0.5047 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.09307, allocations: 8.438 kB / 0.5047 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.09312, allocations: 31.56 kB / 0.5047 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.09312, allocations: 0 / 0.5047 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.083/0.1761, allocations: 3.522 MB / 0.5082 GB, free: 13.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.054, allocations: 8 kB / 0.5082 GB, free: 13.24 MB / 378.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_SimpleDiodeCharacteristic.fmu) > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_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_SimpleDiodeCharacteristic.fmu) > ChaoticCircuits_ChaoticCircuits.Test.SimpleDiodeCharacteristic_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.446167025715113]