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.0008116/0.0008116, 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.00088/0.00088, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8991/0.8991, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.02584/0.02584, allocations: 7.118 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.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: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 393 MB, free: 3.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.169e-05, allocations: 6.281 kB / 393 MB, free: 3.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestIntegrator): time 0.002534/0.002545, allocations: 2.591 MB / 395.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000807/0.003352, allocations: 0.6621 MB / 396.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.003466, allocations: 4 kB / 396.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.003596, allocations: 47.52 kB / 396.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.003715, allocations: 83.27 kB / 396.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.003941, allocations: 83.83 kB / 396.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.004209, allocations: 322.5 kB / 396.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.004382, allocations: 88.88 kB / 396.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.004554, allocations: 187.6 kB / 397.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.004664, allocations: 95.69 kB / 397.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.0047, allocations: 32 kB / 397.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.004731, allocations: 32 kB / 397.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.004776, allocations: 63.77 kB / 397.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.004861, allocations: 99.75 kB / 397.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005123, allocations: 334.9 kB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005126, allocations: 4 kB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005126, allocations: 3.938 kB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.005131, allocations: 0 / 397.7 MB, free: 14.5 MB / 330.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.0009132/0.006044, allocations: 0.5269 MB / 398.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.006078, allocations: 12.03 kB / 398.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.006121, allocations: 58.67 kB / 398.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.006166, allocations: 32.75 kB / 398.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.006405, allocations: 202.1 kB / 398.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.006419, allocations: 12.88 kB / 398.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.006453, allocations: 24.38 kB / 398.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.006819, allocations: 365 kB / 398.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.006828, allocations: 4 kB / 398.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.006847, allocations: 8 kB / 398.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.006854, allocations: 8 kB / 398.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.007114, allocations: 177.9 kB / 399.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.007984, allocations: 0.827 MB / 399.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.008282, allocations: 142.6 kB / 400.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.008376, allocations: 56.83 kB / 400.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.008393, allocations: 8 kB / 400.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.008584, allocations: 158.6 kB / 400.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.008586, allocations: 0 / 400.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006097/0.009195, allocations: 294.1 kB / 400.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.009253, allocations: 140.5 kB / 400.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.009403, allocations: 203.8 kB / 400.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.009422, allocations: 37.69 kB / 401 MB, free: 10.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.009508, allocations: 180.1 kB / 401.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.009535, allocations: 39.62 kB / 401.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.009588, allocations: 45.7 kB / 401.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.009668, allocations: 330.8 kB / 401.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.009784, allocations: 93.66 kB / 401.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.009942, allocations: 238.1 kB / 401.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.01014, allocations: 186.7 kB / 402.1 MB, free: 9.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01015, allocations: 8 kB / 402.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004017/0.01055, allocations: 337.3 kB / 402.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01057, allocations: 29.7 kB / 402.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01058, allocations: 4 kB / 402.4 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.01076, allocations: 56.98 kB / 402.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.01085, allocations: 39.92 kB / 402.5 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.01196, allocations: 1.492 MB / 404 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.01209, allocations: 31.86 kB / 404 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.0121, allocations: 12 kB / 404 MB, free: 7.629 MB / 330.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.0001063/0.01221, allocations: 158.2 kB / 404.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.01223, allocations: 19.86 kB / 404.2 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.01226, allocations: 21.45 kB / 404.2 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.01226, allocations: 4 kB / 404.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01226, allocations: 0 / 404.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01227, allocations: 3.938 kB / 404.3 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.01243, allocations: 236.6 kB / 404.5 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01244, allocations: 4 kB / 404.5 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.01251, allocations: 19.98 kB / 404.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.01268, allocations: 60.92 kB / 404.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01269, allocations: 4 kB / 404.6 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.01387, allocations: 1.481 MB / 406.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01387, allocations: 0 / 406.1 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.01428, allocations: 293.6 kB / 406.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.0143, allocations: 23.88 kB / 406.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01431, allocations: 128 / 406.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.0144, allocations: 31.97 kB / 406.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.01445, allocations: 19.91 kB / 406.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01446, allocations: 4 kB / 406.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.953e-05/0.01455, allocations: 152.2 kB / 406.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01455, allocations: 0 / 406.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.01476, allocations: 67.84 kB / 406.6 MB, free: 4.855 MB / 330.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.0005905/0.01535, allocations: 0.8319 MB / 407.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.01574, allocations: 347.6 kB / 407.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.01574, allocations: 448 / 407.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.01591, allocations: 193.7 kB / 408 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01612, allocations: 43.89 kB / 408 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.0186, allocations: 2.555 MB / 410.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.519e-05/0.01869, allocations: 138.2 kB / 410.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.152e-05/0.01875, allocations: 25.56 kB / 410.7 MB, free: 496 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.01883, allocations: 64.48 kB / 410.8 MB, free: 432 kB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01883, allocations: 0 / 410.8 MB, free: 432 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2121/0.231, allocations: 6.142 MB / 417 MB, free: 29.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.333, allocations: 5.438 kB / 417 MB, free: 29.24 MB / 330.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.531974516808987]