Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier.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.0007675/0.0007675, 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.0008164/0.0008164, allocations: 221.7 kB / 22.26 MB, free: 3.57 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.9634/0.9634, allocations: 230.6 MB / 256 MB, free: 9.602 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.0266/0.0266, allocations: 9.555 MB / 322 MB, free: 8.488 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.TestMultiplier,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestMultiplier,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestMultiplier",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.0009138/0.0009138, allocations: 67.91 kB / 448.6 MB, free: 37.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07039/0.0713, allocations: 55.79 MB / 0.4926 GB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestMultiplier): time 0.002604/0.07391, allocations: 2.446 MB / 0.495 GB, free: 11.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.07493, allocations: 0.6622 MB / 0.4956 GB, free: 10.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.07503, allocations: 7.938 kB / 0.4956 GB, free: 10.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.07518, allocations: 51.52 kB / 0.4957 GB, free: 10.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.07528, allocations: 63.38 kB / 0.4957 GB, free: 10.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.07555, allocations: 103.9 kB / 0.4958 GB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.0758, allocations: 319.3 kB / 0.4961 GB, free: 10.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.07602, allocations: 146.3 kB / 0.4963 GB, free: 10.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.07617, allocations: 139.5 kB / 0.4964 GB, free: 9.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.07632, allocations: 123.4 kB / 0.4965 GB, free: 9.785 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.07636, allocations: 40 kB / 0.4966 GB, free: 9.746 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-05/0.07641, allocations: 40 kB / 0.4966 GB, free: 9.707 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.07646, allocations: 83.69 kB / 0.4967 GB, free: 9.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.07655, allocations: 131.4 kB / 0.4968 GB, free: 9.496 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.07684, allocations: 398.3 kB / 0.4972 GB, free: 9.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.07684, allocations: 0 / 0.4972 GB, free: 9.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.07684, allocations: 4 kB / 0.4972 GB, free: 9.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.07685, allocations: 0 / 0.4972 GB, free: 9.102 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006161/0.07747, allocations: 0.5287 MB / 0.4977 GB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.07751, allocations: 12.03 kB / 0.4977 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.07756, allocations: 66.72 kB / 0.4978 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.0777, allocations: 48.73 kB / 0.4978 GB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.07792, allocations: 214.7 kB / 0.498 GB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.07794, allocations: 21.03 kB / 0.498 GB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.07797, allocations: 35.94 kB / 0.4981 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.07837, allocations: 398.5 kB / 0.4985 GB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.07838, allocations: 4 kB / 0.4985 GB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.0784, allocations: 16 kB / 0.4985 GB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.07841, allocations: 8 kB / 0.4985 GB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.07869, allocations: 229.6 kB / 0.4987 GB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.07976, allocations: 1.231 MB / 0.4999 GB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.07992, allocations: 102.5 kB / 0.5 GB, free: 6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.07999, allocations: 52.83 kB / 0.5001 GB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.08001, allocations: 0 / 0.5001 GB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.08003, allocations: 34.78 kB / 0.5001 GB, free: 5.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 7.81e-07/0.08003, allocations: 0 / 0.5001 GB, free: 5.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003086/0.08034, allocations: 205.4 kB / 0.5003 GB, free: 5.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.08038, allocations: 106.8 kB / 0.5004 GB, free: 5.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.08056, allocations: 273.6 kB / 0.5006 GB, free: 5.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.08057, allocations: 29.69 kB / 0.5007 GB, free: 5.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.08067, allocations: 231.7 kB / 0.5009 GB, free: 5.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.08069, allocations: 27.75 kB / 0.5009 GB, free: 5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.08074, allocations: 65.64 kB / 0.501 GB, free: 4.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.08083, allocations: 334.8 kB / 0.5013 GB, free: 4.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.08091, allocations: 59.97 kB / 0.5014 GB, free: 4.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.08107, allocations: 275.9 kB / 0.5016 GB, free: 4.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.0813, allocations: 282.5 kB / 0.5019 GB, free: 3.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.0813, allocations: 8 kB / 0.5019 GB, free: 3.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002931/0.08159, allocations: 293.6 kB / 0.5022 GB, free: 3.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.08184, allocations: 10.19 kB / 0.5022 GB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.08184, allocations: 4 kB / 0.5022 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.08186, allocations: 8 kB / 0.5022 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.08199, allocations: 59.91 kB / 0.5023 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.082, allocations: 19.81 kB / 0.5023 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.08211, allocations: 51.7 kB / 0.5023 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.08213, allocations: 16 kB / 0.5023 GB, free: 3.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 4 (multiplier.limiter2.satNeg,multiplier.limiter2.satPos,multiplier.limiter1.satNeg,multiplier.limiter1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 9.978e-05/0.08223, allocations: 157.7 kB / 0.5025 GB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.08225, allocations: 27.8 kB / 0.5025 GB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.08229, allocations: 21.72 kB / 0.5025 GB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.08229, allocations: 7.984 kB / 0.5025 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0823, allocations: 3.938 kB / 0.5026 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.0823, allocations: 3.984 kB / 0.5026 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.0825, allocations: 248.7 kB / 0.5028 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0825, allocations: 0 / 0.5028 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.08255, allocations: 27.91 kB / 0.5028 GB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.08255, allocations: 4 kB / 0.5028 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.08256, allocations: 0 / 0.5028 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.08256, allocations: 4 kB / 0.5028 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.08256, allocations: 3.938 kB / 0.5028 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.08275, allocations: 243.9 kB / 0.5031 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.08278, allocations: 23.84 kB / 0.5031 GB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.08279, allocations: 3.938 kB / 0.5031 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.08287, allocations: 19.98 kB / 0.5031 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.08292, allocations: 23.91 kB / 0.5031 GB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.08292, allocations: 4 kB / 0.5031 GB, free: 2.484 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.08303, allocations: 185.1 kB / 0.5033 GB, free: 2.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08303, allocations: 0 / 0.5033 GB, free: 2.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.08326, allocations: 63.78 kB / 0.5034 GB, free: 2.238 MB / 362.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: 4 (multiplier.limiter1.satPos,multiplier.limiter1.satNeg,multiplier.limiter2.satPos,multiplier.limiter2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003721/0.08363, allocations: 0.7788 MB / 0.5041 GB, free: 1.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.08387, allocations: 175.8 kB / 0.5043 GB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.08387, allocations: 0 / 0.5043 GB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.08394, allocations: 55.91 kB / 0.5044 GB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.08415, allocations: 28.44 kB / 0.5044 GB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.08608, allocations: 2.647 MB / 0.507 GB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.098e-05/0.08617, allocations: 146.9 kB / 0.5071 GB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.08625, allocations: 41.88 kB / 0.5071 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/0.08634, allocations: 83.41 kB / 0.5072 GB, free: 14.04 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.08634, allocations: 3.938 kB / 0.5072 GB, free: 14.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/0.1629, allocations: 5.241 MB / 0.5123 GB, free: 8.934 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.954/7.117, allocations: 7.656 kB / 0.5124 GB, free: 8.93 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestMultiplier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestMultiplier.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestMultiplier.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestMultiplier_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.344450188800693]