Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.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.001104/0.001104, 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.0009324/0.0009324, allocations: 169.9 kB / 22.46 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.9142/0.9142, 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.0281/0.0281, allocations: 7.128 MB / 266.3 MB, free: 6.262 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.TestAmplifier,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestAmplifier,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 393 MB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.246e-05, allocations: 4.953 kB / 393 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestAmplifier): time 0.00428/0.004302, allocations: 2.661 MB / 395.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.005722, allocations: 0.631 MB / 396.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.005933, allocations: 4 kB / 396.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.006125, allocations: 51.5 kB / 396.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.006328, allocations: 83.28 kB / 396.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.006571, allocations: 79.78 kB / 396.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.006947, allocations: 318.4 kB / 396.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.007182, allocations: 92.86 kB / 396.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.007427, allocations: 175.7 kB / 397.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.007582, allocations: 91.64 kB / 397.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.007635, allocations: 28 kB / 397.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.891e-05/0.007684, allocations: 32 kB / 397.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.007742, allocations: 63.75 kB / 397.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.007856, allocations: 99.75 kB / 397.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.008261, allocations: 331 kB / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.008267, allocations: 0 / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.008269, allocations: 0 / 397.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.008279, allocations: 7.938 kB / 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009376/0.009217, allocations: 497.5 kB / 398.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.009266, allocations: 8.031 kB / 398.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.733e-05/0.009343, allocations: 62.67 kB / 398.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.009414, allocations: 32.75 kB / 398.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.009811, allocations: 198.1 kB / 398.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.009839, allocations: 20.88 kB / 398.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.009874, allocations: 24.38 kB / 398.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.01045, allocations: 378.7 kB / 398.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.01046, allocations: 0 / 398.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.01049, allocations: 11.98 kB / 398.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.0105, allocations: 12 kB / 398.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.01093, allocations: 177.9 kB / 399.1 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.01241, allocations: 0.8689 MB / 400 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.0128, allocations: 126.6 kB / 400.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.01294, allocations: 48.83 kB / 400.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.01296, allocations: 4 kB / 400.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.01299, allocations: 34.56 kB / 400.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.01299, allocations: 0 / 400.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001067/0.01406, allocations: 314.6 kB / 400.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.01412, allocations: 106.8 kB / 400.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.01433, allocations: 211.8 kB / 400.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.01435, allocations: 29.7 kB / 400.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01446, allocations: 180.1 kB / 401 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.01449, allocations: 39.62 kB / 401 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.01456, allocations: 37.72 kB / 401.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01467, allocations: 334.8 kB / 401.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01481, allocations: 43.97 kB / 401.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.01499, allocations: 167 kB / 401.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.01526, allocations: 138 kB / 401.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.01527, allocations: 3.938 kB / 401.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005444/0.01581, allocations: 254.1 kB / 402 MB, free: 9.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.01583, allocations: 12.19 kB / 402 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01584, allocations: 3.938 kB / 402 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.01616, allocations: 76.67 kB / 402.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.01626, allocations: 23.98 kB / 402.1 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.01829, allocations: 1.657 MB / 403.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.01846, allocations: 39.92 kB / 403.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.01847, allocations: 4 kB / 403.8 MB, free: 7.922 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: 2 (opAmp.limiter.satNeg,opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * 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: 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.01861, allocations: 147 kB / 404 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.01865, allocations: 15.91 kB / 404 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.01869, allocations: 25.45 kB / 404 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01869, allocations: 0 / 404 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.01869, allocations: 0 / 404 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.0187, allocations: 0 / 404 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.01898, allocations: 236.6 kB / 404.2 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01898, allocations: 0 / 404.2 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-05/0.01905, allocations: 15.98 kB / 404.3 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.01931, allocations: 72.73 kB / 404.3 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01932, allocations: 3.984 kB / 404.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.02114, allocations: 1.669 MB / 406 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02114, allocations: 0 / 406 MB, free: 5.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.02165, allocations: 300.1 kB / 406.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.02168, allocations: 11.91 kB / 406.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.0217, allocations: 8 kB / 406.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.02187, allocations: 19.97 kB / 406.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.02193, allocations: 15.97 kB / 406.3 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.02194, allocations: 4 kB / 406.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.02208, allocations: 156.2 kB / 406.5 MB, free: 5.051 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02208, allocations: 4 kB / 406.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.02247, allocations: 75.72 kB / 406.6 MB, free: 4.973 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: 2 (opAmp.limiter.satPos,opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007689/0.02324, allocations: 0.8262 MB / 407.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.02377, allocations: 258.2 kB / 407.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02377, allocations: 0 / 407.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.02403, allocations: 186.6 kB / 407.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.02442, allocations: 31.48 kB / 407.9 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.02768, allocations: 2.305 MB / 410.2 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.02781, allocations: 138.1 kB / 410.3 MB, free: 1.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.202e-05/0.02789, allocations: 13.48 kB / 410.3 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.028, allocations: 72.42 kB / 410.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.028, allocations: 0 / 410.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2393/0.2673, allocations: 5.797 MB / 416.2 MB, free: 29.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.463, allocations: 4.297 kB / 416.2 MB, free: 29.44 MB / 330.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestAmplifier.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier_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_TestAmplifier.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestAmplifier_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.742457955144346]