Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations.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.004172/0.004172, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00133/0.00133, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9641/0.9641, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.0423/0.0423, allocations: 7.126 MB / 266.3 MB, free: 6.234 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.ChaoticDiode.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_AnalyticEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ChaoticDiode.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ChaoticDiode_AnalyticEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 393 MB, free: 3.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.528e-05, allocations: 5.234 kB / 393 MB, free: 3.246 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ChaoticDiode.AnalyticEquations): time 0.002423/0.002449, allocations: 1.22 MB / 394.2 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.002619, allocations: 27.89 kB / 394.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.002648, allocations: 0 / 394.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.002665, allocations: 0 / 394.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.002721, allocations: 11.86 kB / 394.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.002857, allocations: 11.98 kB / 394.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.002912, allocations: 19.92 kB / 394.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.002953, allocations: 0 / 394.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.002998, allocations: 4 kB / 394.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.003069, allocations: 11.97 kB / 394.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.003088, allocations: 4 kB / 394.3 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-06/0.003094, allocations: 0 / 394.3 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.003109, allocations: 3.938 kB / 394.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.003131, allocations: 11.98 kB / 394.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.5e-05/0.003196, allocations: 11.92 kB / 394.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.003199, allocations: 0 / 394.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.003201, allocations: 4 kB / 394.3 MB, free: 1.895 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003205, allocations: 0 / 394.3 MB, free: 1.895 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003678/0.003573, allocations: 250.4 kB / 394.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.003615, allocations: 11.97 kB / 394.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.003649, allocations: 30.75 kB / 394.6 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.003674, allocations: 8.891 kB / 394.6 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.003753, allocations: 101.8 kB / 394.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.003766, allocations: 8.297 kB / 394.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.003784, allocations: 4.375 kB / 394.7 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.003873, allocations: 42.25 kB / 394.8 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.00388, allocations: 192 / 394.8 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.003888, allocations: 384 / 394.8 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.003894, allocations: 4.125 kB / 394.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.066e-05/0.003915, allocations: 8 kB / 394.8 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.004038, allocations: 136.7 kB / 394.9 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.004227, allocations: 42.5 kB / 395 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.00425, allocations: 12.86 kB / 395 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004263, allocations: 0 / 395 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.004281, allocations: 38.56 kB / 395 MB, free: 1.074 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.004282, allocations: 4 kB / 395 MB, free: 1.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000143/0.004425, allocations: 53.95 kB / 395.1 MB, free: 1.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.004453, allocations: 55.34 kB / 395.1 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.004506, allocations: 101.8 kB / 395.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004517, allocations: 25.7 kB / 395.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.004544, allocations: 88.06 kB / 395.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.004569, allocations: 15.91 kB / 395.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.004596, allocations: 17.72 kB / 395.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.004675, allocations: 314.8 kB / 395.7 MB, free: 368 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.004697, allocations: 8 kB / 395.7 MB, free: 360 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.004714, allocations: 12 kB / 395.7 MB, free: 348 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.004757, allocations: 32.84 kB / 395.7 MB, free: 312 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004759, allocations: 0 / 395.7 MB, free: 312 kB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.933e-05/0.004828, allocations: 57.66 kB / 395.8 MB, free: 248 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.004842, allocations: 7.984 kB / 395.8 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004847, allocations: 0 / 395.8 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.004858, allocations: 0 / 395.8 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.004919, allocations: 23.88 kB / 395.8 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.004924, allocations: 0 / 395.8 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.00494, allocations: 3.938 kB / 395.8 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.004946, allocations: 0 / 395.8 MB, free: 212 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 5.516e-05/0.005001, allocations: 121.8 kB / 395.9 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-06/0.005006, allocations: 0 / 395.9 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.005101, allocations: 57.38 kB / 396 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005103, allocations: 0 / 396 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.005109, allocations: 7.922 kB / 396 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005111, allocations: 3.938 kB / 396 MB, free: 0 / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.005205, allocations: 128.7 kB / 396.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005206, allocations: 0 / 396.1 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.246e-05/0.005278, allocations: 19.92 kB / 396.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.005281, allocations: 0 / 396.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.00529, allocations: 8.125 kB / 396.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.005293, allocations: 8 kB / 396.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.005295, allocations: 3.938 kB / 396.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.005406, allocations: 89.11 kB / 396.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.005411, allocations: 0 / 396.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.005421, allocations: 4 kB / 396.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.005434, allocations: 0 / 396.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.005451, allocations: 7.969 kB / 396.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005454, allocations: 4 kB / 396.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.494e-05/0.005479, allocations: 75.28 kB / 396.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005479, allocations: 0 / 396.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.005608, allocations: 12 kB / 396.4 MB, free: 15.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (x,y,z) * 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 (4): * Single equations (assignments): 4 * 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.0002646/0.005873, allocations: 0.6279 MB / 397 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.099e-05/0.005954, allocations: 24.69 kB / 397 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005955, allocations: 3.938 kB / 397 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.005969, allocations: 8 kB / 397 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.006084, allocations: 11.06 kB / 397 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.006989, allocations: 1.18 MB / 398.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.007038, allocations: 67.34 kB / 398.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.007058, allocations: 4 kB / 398.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.007093, allocations: 16.48 kB / 398.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007094, allocations: 0 / 398.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08313/0.09023, allocations: 1.957 MB / 400.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.112, allocations: 7.875 kB / 400.3 MB, free: 11.66 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ChaoticDiode_AnalyticEquations_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticDiode_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations_fmpy_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 ../ChaoticCircuits_ChaoticCircuits_ChaoticDiode_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ChaoticDiode.AnalyticEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.708698254078627]