Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.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.0007722/0.0007722, 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.000933/0.000933, allocations: 165.9 kB / 22.46 MB, free: 2.102 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.9002/0.9002, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02514/0.02514, allocations: 7.112 MB / 266.3 MB, free: 6.258 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.TestDynamicDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestDynamicDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 393 MB, free: 3.246 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.807e-05, allocations: 2.281 kB / 393 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestDynamicDiode): time 0.002144/0.002162, allocations: 1.916 MB / 394.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.002914, allocations: 0.5997 MB / 395.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.002986, allocations: 0 / 395.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.003147, allocations: 35.77 kB / 395.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.003198, allocations: 31.66 kB / 395.6 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.003387, allocations: 55.8 kB / 395.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.003542, allocations: 147.4 kB / 395.8 MB, free: 452 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.00365, allocations: 21.62 kB / 395.8 MB, free: 428 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.003824, allocations: 91.73 kB / 395.9 MB, free: 336 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.003897, allocations: 47.88 kB / 395.9 MB, free: 288 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.003919, allocations: 15.98 kB / 396 MB, free: 272 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.566e-05/0.003964, allocations: 20 kB / 396 MB, free: 252 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.003987, allocations: 23.86 kB / 396 MB, free: 228 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.004028, allocations: 47.89 kB / 396 MB, free: 180 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004191, allocations: 139.6 kB / 396.2 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004193, allocations: 0 / 396.2 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.004194, allocations: 3.938 kB / 396.2 MB, free: 36 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004197, allocations: 4 kB / 396.2 MB, free: 32 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004881/0.004685, allocations: 353.7 kB / 396.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.004723, allocations: 12.03 kB / 396.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.004759, allocations: 46.67 kB / 396.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.004852, allocations: 24.83 kB / 396.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.00502, allocations: 137.7 kB / 396.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.005031, allocations: 12.33 kB / 396.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.005052, allocations: 16.38 kB / 396.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.005224, allocations: 121.9 kB / 396.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.005233, allocations: 0 / 396.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.005245, allocations: 4 kB / 396.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.005249, allocations: 0 / 396.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.005405, allocations: 99.94 kB / 397 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.00592, allocations: 430.8 kB / 397.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.006073, allocations: 86.55 kB / 397.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.006151, allocations: 52.77 kB / 397.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.006164, allocations: 0 / 397.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.006181, allocations: 34.56 kB / 397.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.006182, allocations: 0 / 397.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001068/0.00725, allocations: 461.2 kB / 398 MB, free: 14.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.007274, allocations: 51.41 kB / 398.1 MB, free: 13.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.007367, allocations: 152.7 kB / 398.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.007382, allocations: 25.7 kB / 398.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.007431, allocations: 116 kB / 398.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.007454, allocations: 35.69 kB / 398.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.007501, allocations: 29.7 kB / 398.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.007579, allocations: 326.8 kB / 398.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.007706, allocations: 75.95 kB / 398.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.007835, allocations: 94.53 kB / 398.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.008082, allocations: 186.4 kB / 399.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.008083, allocations: 0 / 399.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003059/0.008389, allocations: 225.4 kB / 399.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.008402, allocations: 8 kB / 399.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008407, allocations: 0 / 399.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.008418, allocations: 0 / 399.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.008553, allocations: 35.97 kB / 399.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.008561, allocations: 3.984 kB / 399.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.008643, allocations: 19.98 kB / 399.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.008654, allocations: 4 kB / 399.4 MB, free: 12.6 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.595e-05/0.00873, allocations: 125.8 kB / 399.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.008753, allocations: 15.89 kB / 399.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006016/0.009354, allocations: 222.3 kB / 399.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009356, allocations: 0 / 399.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.00936, allocations: 4 kB / 399.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.009365, allocations: 7.984 kB / 399.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.009878, allocations: 0.4974 MB / 400.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.00988, allocations: 0 / 400.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.009986, allocations: 31.97 kB / 400.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.009988, allocations: 4 kB / 400.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.009998, allocations: 0 / 400.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009999, allocations: 0 / 400.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01, allocations: 0 / 400.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.0103, allocations: 307.2 kB / 400.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.01032, allocations: 11.95 kB / 400.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01033, allocations: 4 kB / 400.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.01042, allocations: 11.98 kB / 400.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.01046, allocations: 19.91 kB / 400.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01047, allocations: 11.94 kB / 400.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.342e-05/0.01052, allocations: 103.3 kB / 400.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01052, allocations: 4 kB / 400.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000178/0.0107, allocations: 28 kB / 400.8 MB, free: 11.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004629/0.01116, allocations: 0.8334 MB / 401.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.01145, allocations: 172.5 kB / 401.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01146, allocations: 7.938 kB / 401.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.01159, allocations: 83.95 kB / 401.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01181, allocations: 23.66 kB / 401.9 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.01357, allocations: 1.978 MB / 403.9 MB, free: 7.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.555e-05/0.01362, allocations: 93.3 kB / 404 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.518e-05/0.01369, allocations: 16.5 kB / 404 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.01376, allocations: 44.47 kB / 404 MB, free: 7.75 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01376, allocations: 0 / 404 MB, free: 7.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07518/0.08895, allocations: 4.094 MB / 408.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/7.178, allocations: 7.875 kB / 408.1 MB, free: 3.781 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestDynamicDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestDynamicDiode_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.731070850975811]