Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks.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.001323/0.001323, allocations: 109.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.001072/0.001072, allocations: 220.7 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.9839/0.9839, allocations: 230.6 MB / 256 MB, free: 9.656 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.04327/0.04327, allocations: 9.557 MB / 322 MB, free: 8.48 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.LorenzSystem.ScaledBlocks,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LorenzSystem_ScaledBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.LorenzSystem.ScaledBlocks,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LorenzSystem_ScaledBlocks",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.0009381/0.0009381, allocations: 62.25 kB / 448.6 MB, free: 37.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1102, allocations: 55.78 MB / 0.4926 GB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.LorenzSystem.ScaledBlocks): time 0.002291/0.1125, allocations: 1.821 MB / 0.4943 GB, free: 12.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.1129, allocations: 147.7 kB / 0.4945 GB, free: 11.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.113, allocations: 7.938 kB / 0.4945 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1131, allocations: 27.67 kB / 0.4945 GB, free: 11.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.338e-05/0.1132, allocations: 23.72 kB / 0.4945 GB, free: 11.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1134, allocations: 63.92 kB / 0.4946 GB, free: 11.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1136, allocations: 155.9 kB / 0.4947 GB, free: 11.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1137, allocations: 61.42 kB / 0.4948 GB, free: 11.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.1138, allocations: 67.7 kB / 0.4949 GB, free: 11.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1139, allocations: 71.55 kB / 0.4949 GB, free: 11.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1139, allocations: 12 kB / 0.495 GB, free: 11.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.1139, allocations: 12 kB / 0.495 GB, free: 11.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.114, allocations: 39.78 kB / 0.495 GB, free: 11.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.114, allocations: 63.59 kB / 0.4951 GB, free: 11.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1142, allocations: 159.2 kB / 0.4952 GB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1142, allocations: 0 / 0.4952 GB, free: 11.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1142, allocations: 0 / 0.4952 GB, free: 11.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1142, allocations: 0 / 0.4952 GB, free: 11.12 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005491/0.1148, allocations: 437.5 kB / 0.4956 GB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1148, allocations: 12.03 kB / 0.4956 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.1148, allocations: 46.73 kB / 0.4957 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.1149, allocations: 28.75 kB / 0.4957 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1151, allocations: 194.1 kB / 0.4959 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1151, allocations: 8.656 kB / 0.4959 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1151, allocations: 24.12 kB / 0.4959 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1153, allocations: 185.9 kB / 0.4961 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1154, allocations: 0 / 0.4961 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1154, allocations: 8 kB / 0.4961 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1154, allocations: 4 kB / 0.4961 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1155, allocations: 92.59 kB / 0.4962 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.1165, allocations: 0.9195 MB / 0.4971 GB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1167, allocations: 98.48 kB / 0.4972 GB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.1167, allocations: 36.84 kB / 0.4972 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1167, allocations: 0 / 0.4972 GB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1168, allocations: 38.56 kB / 0.4973 GB, free: 8.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1168, allocations: 0 / 0.4973 GB, free: 8.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002134/0.117, allocations: 137.7 kB / 0.4974 GB, free: 8.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.117, allocations: 59.34 kB / 0.4975 GB, free: 8.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1171, allocations: 232 kB / 0.4977 GB, free: 8.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1172, allocations: 29.7 kB / 0.4977 GB, free: 8.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1172, allocations: 140.2 kB / 0.4978 GB, free: 8.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1172, allocations: 43.64 kB / 0.4979 GB, free: 8.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1173, allocations: 37.7 kB / 0.4979 GB, free: 8.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.1174, allocations: 334.8 kB / 0.4982 GB, free: 7.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.1174, allocations: 31.98 kB / 0.4983 GB, free: 7.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.1175, allocations: 82 kB / 0.4983 GB, free: 7.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1176, allocations: 125.9 kB / 0.4985 GB, free: 7.512 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1176, allocations: 3.938 kB / 0.4985 GB, free: 7.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001601/0.1177, allocations: 161.4 kB / 0.4986 GB, free: 7.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1178, allocations: 10.19 kB / 0.4986 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1178, allocations: 3.938 kB / 0.4986 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1178, allocations: 4.188 kB / 0.4986 GB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.1179, allocations: 35.92 kB / 0.4987 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1179, allocations: 0 / 0.4987 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1179, allocations: 15.83 kB / 0.4987 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1179, allocations: 12 kB / 0.4987 GB, free: 7.266 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: 3 (integrator_z.local_reset,integrator_y.local_reset,integrator_x.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.642e-05/0.118, allocations: 133.7 kB / 0.4988 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.118, allocations: 23.84 kB / 0.4989 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.118, allocations: 21.41 kB / 0.4989 GB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1181, allocations: 4 kB / 0.4989 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1181, allocations: 0 / 0.4989 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1181, allocations: 0 / 0.4989 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1182, allocations: 204.6 kB / 0.4991 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1182, allocations: 4 kB / 0.4991 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.1183, allocations: 12 kB / 0.4991 GB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1183, allocations: 4 kB / 0.4991 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1183, allocations: 4 kB / 0.4991 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1183, allocations: 0 / 0.4991 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1183, allocations: 0 / 0.4991 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1185, allocations: 259.2 kB / 0.4993 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1185, allocations: 19.88 kB / 0.4994 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.1186, allocations: 8 kB / 0.4994 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.1186, allocations: 0 / 0.4994 GB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.1186, allocations: 11.98 kB / 0.4994 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1186, allocations: 4 kB / 0.4994 GB, free: 6.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.972e-05/0.1187, allocations: 165.6 kB / 0.4995 GB, free: 6.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1187, allocations: 0 / 0.4995 GB, free: 6.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000167/0.1189, allocations: 27.89 kB / 0.4996 GB, free: 6.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (integrator_x.y,integrator_y.y,integrator_z.y) * Number of discrete variables: 0 () * 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.0003504/0.1192, allocations: 0.7858 MB / 0.5003 GB, free: 5.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1194, allocations: 88.61 kB / 0.5004 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1194, allocations: 384 / 0.5004 GB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.1194, allocations: 43.92 kB / 0.5005 GB, free: 5.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1197, allocations: 40.73 kB / 0.5005 GB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1212, allocations: 2.149 MB / 0.5026 GB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.1212, allocations: 124.9 kB / 0.5027 GB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.01e-05/0.1213, allocations: 13.64 kB / 0.5027 GB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.1214, allocations: 51.42 kB / 0.5028 GB, free: 2.848 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1214, allocations: 3.938 kB / 0.5028 GB, free: 2.844 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.2229, allocations: 4.117 MB / 0.5068 GB, free: 14.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.248, allocations: 0 / 0.5068 GB, free: 14.87 MB / 378.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_LorenzSystem_ScaledBlocks_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_LorenzSystem_ScaledBlocks.fmu) > ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks_fmpy_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ../ChaoticCircuits_ChaoticCircuits_LorenzSystem_ScaledBlocks.fmu) > ChaoticCircuits_ChaoticCircuits.LorenzSystem.ScaledBlocks_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.646476465277374]