Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator.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.001185/0.001185, 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.0009738/0.0009738, allocations: 222.3 kB / 22.25 MB, free: 3.578 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.9563/0.9563, allocations: 230.6 MB / 256 MB, free: 9.594 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.02793/0.02793, allocations: 9.551 MB / 322 MB, free: 8.469 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.TestIntegrator,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestIntegrator,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestIntegrator",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.000955/0.000955, allocations: 63.89 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07615/0.07711, allocations: 55.79 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestIntegrator): time 0.002837/0.07994, allocations: 2.591 MB / 0.4951 GB, free: 11.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.08077, allocations: 0.6543 MB / 0.4957 GB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.08089, allocations: 11.94 kB / 0.4958 GB, free: 10.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.08102, allocations: 43.58 kB / 0.4958 GB, free: 10.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.08114, allocations: 79.33 kB / 0.4959 GB, free: 10.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.08136, allocations: 83.84 kB / 0.496 GB, free: 10.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.08161, allocations: 306.9 kB / 0.4962 GB, free: 10.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.08178, allocations: 96.81 kB / 0.4963 GB, free: 9.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.0819, allocations: 131.4 kB / 0.4965 GB, free: 9.824 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.08201, allocations: 107.5 kB / 0.4966 GB, free: 9.719 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.08205, allocations: 35.94 kB / 0.4966 GB, free: 9.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.967e-05/0.08208, allocations: 28 kB / 0.4966 GB, free: 9.656 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.08212, allocations: 67.77 kB / 0.4967 GB, free: 9.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.08221, allocations: 119.4 kB / 0.4968 GB, free: 9.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.08248, allocations: 326.7 kB / 0.4971 GB, free: 9.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.08248, allocations: 4 kB / 0.4971 GB, free: 9.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08248, allocations: 0 / 0.4971 GB, free: 9.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.08249, allocations: 3.938 kB / 0.4971 GB, free: 9.145 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006798/0.08317, allocations: 0.5269 MB / 0.4976 GB, free: 8.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.0832, allocations: 15.98 kB / 0.4977 GB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.08325, allocations: 62.72 kB / 0.4977 GB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.0833, allocations: 32.75 kB / 0.4977 GB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.08355, allocations: 202.9 kB / 0.4979 GB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.08357, allocations: 16.88 kB / 0.498 GB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.0836, allocations: 31.92 kB / 0.498 GB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.08398, allocations: 356.7 kB / 0.4983 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.08398, allocations: 0 / 0.4983 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.084, allocations: 8 kB / 0.4983 GB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.08401, allocations: 8 kB / 0.4983 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.08427, allocations: 181.9 kB / 0.4985 GB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.08518, allocations: 0.8261 MB / 0.4993 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.08555, allocations: 134.6 kB / 0.4994 GB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.08565, allocations: 60.83 kB / 0.4995 GB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.08567, allocations: 7.938 kB / 0.4995 GB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.08588, allocations: 161.8 kB / 0.4997 GB, free: 6.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.08589, allocations: 0 / 0.4997 GB, free: 6.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006201/0.08651, allocations: 294.1 kB / 0.4999 GB, free: 6.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.08656, allocations: 132.5 kB / 0.5001 GB, free: 5.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.08672, allocations: 211.8 kB / 0.5003 GB, free: 5.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.08674, allocations: 33.64 kB / 0.5003 GB, free: 5.617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.08683, allocations: 184.1 kB / 0.5005 GB, free: 5.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.08686, allocations: 43.69 kB / 0.5005 GB, free: 5.387 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.08691, allocations: 41.7 kB / 0.5006 GB, free: 5.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.087, allocations: 330.8 kB / 0.5009 GB, free: 5.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.08712, allocations: 89.66 kB / 0.501 GB, free: 4.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.08728, allocations: 243.1 kB / 0.5012 GB, free: 4.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.08751, allocations: 204.7 kB / 0.5014 GB, free: 4.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.08752, allocations: 0 / 0.5014 GB, free: 4.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004145/0.08793, allocations: 332.7 kB / 0.5017 GB, free: 4.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.08796, allocations: 33.89 kB / 0.5017 GB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.08797, allocations: 11.98 kB / 0.5018 GB, free: 4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.08817, allocations: 52.81 kB / 0.5018 GB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.08827, allocations: 35.91 kB / 0.5018 GB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.08944, allocations: 1.481 MB / 0.5033 GB, free: 2.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.08956, allocations: 39.86 kB / 0.5033 GB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.08958, allocations: 8 kB / 0.5033 GB, free: 2.262 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (opAmp.limiter.satNeg,opAmp.limiter.satPos,v_in.signalSource.count,$PRE.v_in.signalSource.count,v_in.signalSource.T_start,$PRE.v_in.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000112/0.08969, allocations: 151.1 kB / 0.5035 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.08971, allocations: 23.86 kB / 0.5035 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.08973, allocations: 21.41 kB / 0.5035 GB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.08974, allocations: 4 kB / 0.5035 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.08974, allocations: 0 / 0.5035 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.08974, allocations: 3.984 kB / 0.5035 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.08992, allocations: 232.7 kB / 0.5037 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.08992, allocations: 0 / 0.5037 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.08999, allocations: 23.97 kB / 0.5038 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.09012, allocations: 52.81 kB / 0.5038 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.09013, allocations: 11.94 kB / 0.5038 GB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009354/0.09106, allocations: 1.48 MB / 0.5053 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.09107, allocations: 0 / 0.5053 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.09147, allocations: 293.7 kB / 0.5056 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.0915, allocations: 19.98 kB / 0.5056 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.09151, allocations: 8 kB / 0.5056 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.09159, allocations: 27.91 kB / 0.5056 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.09166, allocations: 23.91 kB / 0.5056 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.09166, allocations: 4 kB / 0.5056 GB, free: 15.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.09176, allocations: 156.2 kB / 0.5058 GB, free: 15.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09176, allocations: 3.938 kB / 0.5058 GB, free: 15.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.09198, allocations: 63.84 kB / 0.5059 GB, free: 15.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cOut.v) * Number of discrete variables: 5 ($whenCondition1,v_in.signalSource.T_start,v_in.signalSource.count,opAmp.limiter.satPos,opAmp.limiter.satNeg) * Number of discrete states: 1 (v_in.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005861/0.09256, allocations: 0.831 MB / 0.5067 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.09299, allocations: 347.9 kB / 0.507 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.09299, allocations: 8.062 kB / 0.507 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.09316, allocations: 190.6 kB / 0.5072 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.09338, allocations: 34.97 kB / 0.5072 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.09588, allocations: 2.58 MB / 0.5097 GB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.909e-05/0.09597, allocations: 138.1 kB / 0.5099 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.09604, allocations: 21.62 kB / 0.5099 GB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.09612, allocations: 71.41 kB / 0.51 GB, free: 11.03 MB / 378.7 MB Notification: Performance of SimCode: time 6.12e-07/0.09612, allocations: 0 / 0.51 GB, free: 11.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08785/0.184, allocations: 6.007 MB / 0.5158 GB, free: 5.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.148, allocations: 6.922 kB / 0.5158 GB, free: 5.172 MB / 378.7 MB " [Timeout remaining time 652] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestIntegrator_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestIntegrator.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator_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_TestIntegrator.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestIntegrator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.539903824217618]