Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit.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.0007736/0.0007736, 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.001436/0.001436, allocations: 217.8 kB / 22.25 MB, free: 3.582 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.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.613 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.02804/0.02804, allocations: 9.559 MB / 322 MB, free: 8.484 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.JerkCircuit.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_JerkCircuit_IdealCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.JerkCircuit.IdealCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_JerkCircuit_IdealCircuit",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.0009225/0.0009225, allocations: 71.88 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07174/0.07267, allocations: 55.78 MB / 0.4926 GB, free: 13.85 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.JerkCircuit.IdealCircuit): time 0.003151/0.07582, allocations: 3.042 MB / 0.4955 GB, free: 10.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.07691, allocations: 0.7633 MB / 0.4963 GB, free: 10.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.07705, allocations: 12 kB / 0.4963 GB, free: 10.01 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.07722, allocations: 79.22 kB / 0.4964 GB, free: 9.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.0774, allocations: 130.8 kB / 0.4965 GB, free: 9.805 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.07764, allocations: 115.8 kB / 0.4966 GB, free: 9.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.07803, allocations: 0.5257 MB / 0.4971 GB, free: 9.164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.07825, allocations: 153.7 kB / 0.4973 GB, free: 9.008 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.0784, allocations: 203.3 kB / 0.4975 GB, free: 8.809 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.07858, allocations: 194.9 kB / 0.4977 GB, free: 8.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.07862, allocations: 48 kB / 0.4977 GB, free: 8.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.07867, allocations: 48 kB / 0.4977 GB, free: 8.523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.07872, allocations: 99.67 kB / 0.4978 GB, free: 8.426 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.07884, allocations: 203.1 kB / 0.498 GB, free: 8.227 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.07919, allocations: 0.5368 MB / 0.4986 GB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.0792, allocations: 0 / 0.4986 GB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0792, allocations: 0 / 0.4986 GB, free: 7.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.07921, allocations: 4 kB / 0.4986 GB, free: 7.684 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0007273/0.07993, allocations: 0.6573 MB / 0.4992 GB, free: 6.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.07997, allocations: 12.03 kB / 0.4992 GB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.08003, allocations: 86.7 kB / 0.4993 GB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.08009, allocations: 52.61 kB / 0.4993 GB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.08038, allocations: 250.7 kB / 0.4996 GB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.0804, allocations: 33.38 kB / 0.4996 GB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.08044, allocations: 43.94 kB / 0.4997 GB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.08094, allocations: 0.5676 MB / 0.5002 GB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.08095, allocations: 4 kB / 0.5002 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.08098, allocations: 20 kB / 0.5002 GB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.557e-06/0.08099, allocations: 11.94 kB / 0.5002 GB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.08131, allocations: 275.8 kB / 0.5005 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.08296, allocations: 1.412 MB / 0.5019 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.08317, allocations: 158.4 kB / 0.502 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.08328, allocations: 96.77 kB / 0.5021 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.0833, allocations: 7.938 kB / 0.5021 GB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.08332, allocations: 34.94 kB / 0.5022 GB, free: 3.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.08332, allocations: 0 / 0.5022 GB, free: 3.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002984/0.08362, allocations: 232.6 kB / 0.5024 GB, free: 3.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.08365, allocations: 55.39 kB / 0.5024 GB, free: 3.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.08386, allocations: 300.1 kB / 0.5027 GB, free: 3.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.08387, allocations: 29.7 kB / 0.5028 GB, free: 3.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.08398, allocations: 259.9 kB / 0.503 GB, free: 2.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.08402, allocations: 83.31 kB / 0.5031 GB, free: 2.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.08408, allocations: 61.66 kB / 0.5031 GB, free: 2.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.08417, allocations: 334.8 kB / 0.5035 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.221e-05/0.08427, allocations: 79.91 kB / 0.5035 GB, free: 2.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.0844, allocations: 174.7 kB / 0.5037 GB, free: 2.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.08463, allocations: 259.7 kB / 0.504 GB, free: 1.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.08463, allocations: 4 kB / 0.504 GB, free: 1.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000316/0.08495, allocations: 321.1 kB / 0.5043 GB, free: 1.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.08496, allocations: 6.188 kB / 0.5043 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.08497, allocations: 4 kB / 0.5043 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.08498, allocations: 4 kB / 0.5043 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.08521, allocations: 100.2 kB / 0.5044 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.08522, allocations: 7.984 kB / 0.5044 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.08531, allocations: 39.73 kB / 0.5044 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.08533, allocations: 8 kB / 0.5044 GB, free: 1.301 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (42): * Single equations (assignments): 42 * 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 0.0001117/0.08544, allocations: 161.7 kB / 0.5046 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.08547, allocations: 31.81 kB / 0.5046 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.08569, allocations: 195.8 kB / 0.5048 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.0857, allocations: 4 kB / 0.5048 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.0857, allocations: 0 / 0.5048 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.0857, allocations: 0 / 0.5048 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.08598, allocations: 336.5 kB / 0.5051 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.08598, allocations: 0 / 0.5051 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.08614, allocations: 63.95 kB / 0.5052 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.08614, allocations: 4 kB / 0.5052 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.08615, allocations: 3.938 kB / 0.5052 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.08615, allocations: 3.938 kB / 0.5052 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.08615, allocations: 0 / 0.5052 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.08646, allocations: 370.4 kB / 0.5056 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.08649, allocations: 31.78 kB / 0.5056 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.08651, allocations: 8 kB / 0.5056 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.08662, allocations: 27.98 kB / 0.5056 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.08666, allocations: 16.02 kB / 0.5056 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.08667, allocations: 4 kB / 0.5056 GB, free: 15.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.0868, allocations: 203 kB / 0.5058 GB, free: 15.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0868, allocations: 0 / 0.5058 GB, free: 15.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.08705, allocations: 115.7 kB / 0.5059 GB, free: 15.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (c_z.v,c_y.v,c_x.v) * 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 (22): * Single equations (assignments): 22 * 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.0004602/0.08751, allocations: 0.8996 MB / 0.5068 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.08775, allocations: 183.7 kB / 0.507 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.08776, allocations: 4 kB / 0.507 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.08782, allocations: 71.11 kB / 0.5071 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.0881, allocations: 57.69 kB / 0.5071 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.09072, allocations: 3.078 MB / 0.5101 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.09083, allocations: 199.1 kB / 0.5103 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.09092, allocations: 30.97 kB / 0.5103 GB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.09102, allocations: 115.4 kB / 0.5105 GB, free: 10.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.09103, allocations: 0 / 0.5105 GB, free: 10.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.1926, allocations: 7.184 MB / 0.5175 GB, free: 3.859 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.89, allocations: 11.42 kB / 0.5175 GB, free: 3.852 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_JerkCircuit_IdealCircuit_fmu --startTime=0 --stopTime=1 --stepSize=1.00001e-05 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_JerkCircuit_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.00001e-05 ../ChaoticCircuits_ChaoticCircuits_JerkCircuit_IdealCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.JerkCircuit.IdealCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.73027815297246]