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.001172/0.001172, 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.001373/0.001373, allocations: 221.2 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 1.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.605 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.02805/0.02805, allocations: 9.557 MB / 322 MB, free: 8.477 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: 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.001111/0.001111, allocations: 67.89 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.112, allocations: 55.79 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestAmplifier): time 0.002947/0.1149, allocations: 2.642 MB / 0.4952 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.1159, allocations: 0.6272 MB / 0.4958 GB, free: 10.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.116, allocations: 11.94 kB / 0.4958 GB, free: 10.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.1161, allocations: 51.56 kB / 0.4958 GB, free: 10.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1162, allocations: 75.33 kB / 0.4959 GB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1164, allocations: 71.86 kB / 0.496 GB, free: 10.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.1167, allocations: 314.7 kB / 0.4963 GB, free: 10.03 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.1169, allocations: 92.81 kB / 0.4964 GB, free: 9.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.117, allocations: 115.6 kB / 0.4965 GB, free: 9.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1171, allocations: 115.4 kB / 0.4966 GB, free: 9.707 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.1171, allocations: 32 kB / 0.4966 GB, free: 9.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.1172, allocations: 28 kB / 0.4966 GB, free: 9.648 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.1172, allocations: 63.72 kB / 0.4967 GB, free: 9.586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.1173, allocations: 115.5 kB / 0.4968 GB, free: 9.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1175, allocations: 326.7 kB / 0.4971 GB, free: 9.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1175, allocations: 3.938 kB / 0.4971 GB, free: 9.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1175, allocations: 0 / 0.4971 GB, free: 9.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1176, allocations: 0 / 0.4971 GB, free: 9.148 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000584/0.1181, allocations: 0.5014 MB / 0.4976 GB, free: 8.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1182, allocations: 11.98 kB / 0.4976 GB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.1182, allocations: 58.72 kB / 0.4977 GB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1183, allocations: 40.73 kB / 0.4977 GB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1185, allocations: 194.9 kB / 0.4979 GB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1185, allocations: 20.88 kB / 0.4979 GB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1185, allocations: 27.94 kB / 0.4979 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1189, allocations: 382.3 kB / 0.4983 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1189, allocations: 0 / 0.4983 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1189, allocations: 15.98 kB / 0.4983 GB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.119, allocations: 4 kB / 0.4983 GB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.1192, allocations: 177.9 kB / 0.4985 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1203, allocations: 0.8677 MB / 0.4994 GB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1205, allocations: 122.6 kB / 0.4995 GB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.1206, allocations: 60.83 kB / 0.4995 GB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1206, allocations: 0 / 0.4995 GB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.1206, allocations: 30.56 kB / 0.4996 GB, free: 6.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.1206, allocations: 4 kB / 0.4996 GB, free: 6.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006596/0.1213, allocations: 306.3 kB / 0.4999 GB, free: 6.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1213, allocations: 102.8 kB / 0.4999 GB, free: 6.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1215, allocations: 207.8 kB / 0.5001 GB, free: 5.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1215, allocations: 33.7 kB / 0.5002 GB, free: 5.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.1216, allocations: 188.1 kB / 0.5004 GB, free: 5.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1216, allocations: 35.69 kB / 0.5004 GB, free: 5.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1216, allocations: 41.7 kB / 0.5004 GB, free: 5.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.1217, allocations: 330.8 kB / 0.5007 GB, free: 5.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.1218, allocations: 43.97 kB / 0.5008 GB, free: 5.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1219, allocations: 167 kB / 0.5009 GB, free: 4.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1221, allocations: 145.9 kB / 0.5011 GB, free: 4.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1221, allocations: 0 / 0.5011 GB, free: 4.746 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003294/0.1224, allocations: 257.4 kB / 0.5013 GB, free: 4.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1224, allocations: 6.188 kB / 0.5013 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1224, allocations: 0 / 0.5013 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.1227, allocations: 80.72 kB / 0.5014 GB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.1227, allocations: 19.98 kB / 0.5014 GB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.124, allocations: 1.672 MB / 0.5031 GB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.1241, allocations: 35.81 kB / 0.5031 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1241, allocations: 7.984 kB / 0.5031 GB, free: 2.543 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: 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 9.227e-05/0.1242, allocations: 139.1 kB / 0.5032 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1242, allocations: 19.91 kB / 0.5033 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.1243, allocations: 21.39 kB / 0.5033 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1243, allocations: 64 / 0.5033 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1243, allocations: 4 kB / 0.5033 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1243, allocations: 3.938 kB / 0.5033 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1245, allocations: 232.6 kB / 0.5035 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1245, allocations: 3.938 kB / 0.5035 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.1245, allocations: 11.94 kB / 0.5035 GB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.1246, allocations: 80.97 kB / 0.5036 GB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1247, allocations: 0 / 0.5036 GB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.1257, allocations: 1.664 MB / 0.5052 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1257, allocations: 0 / 0.5052 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.126, allocations: 288.1 kB / 0.5055 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.1261, allocations: 23.89 kB / 0.5055 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1261, allocations: 0 / 0.5055 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.1262, allocations: 24.05 kB / 0.5055 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.1264, allocations: 19.91 kB / 0.5056 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1264, allocations: 0 / 0.5056 GB, free: 15.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.1265, allocations: 156.2 kB / 0.5057 GB, free: 15.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1265, allocations: 0 / 0.5057 GB, free: 15.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.1267, allocations: 79.66 kB / 0.5058 GB, free: 15.6 MB / 378.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.0004619/0.1271, allocations: 0.8307 MB / 0.5066 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1275, allocations: 258.4 kB / 0.5069 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1275, allocations: 0 / 0.5069 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1276, allocations: 186.9 kB / 0.507 GB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1279, allocations: 40.16 kB / 0.5071 GB, free: 14.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1297, allocations: 2.295 MB / 0.5093 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.426e-05/0.1298, allocations: 138.2 kB / 0.5094 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.261e-05/0.1299, allocations: 21.47 kB / 0.5095 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.13, allocations: 67.41 kB / 0.5095 GB, free: 11.58 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.13, allocations: 0 / 0.5095 GB, free: 11.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09223/0.2222, allocations: 5.661 MB / 0.5151 GB, free: 6.066 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.164, allocations: 4.062 kB / 0.5151 GB, free: 6.062 MB / 378.7 MB " [Timeout remaining time 652] (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.564420154318213]