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.0009791/0.0009791, 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.001237/0.001237, 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.955/0.955, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03421/0.03421, allocations: 7.123 MB / 266.3 MB, free: 6.242 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 393 MB, free: 3.23 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.088e-05, allocations: 5.234 kB / 393 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.LorenzSystem.ScaledBlocks): time 0.002184/0.002205, allocations: 1.811 MB / 394.8 MB, free: 1.402 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.002605, allocations: 155.5 kB / 395 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.002697, allocations: 11.94 kB / 395 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.002832, allocations: 27.72 kB / 395 MB, free: 1.211 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.29e-05/0.002895, allocations: 27.67 kB / 395 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.003106, allocations: 63.84 kB / 395.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.003289, allocations: 156 kB / 395.2 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.003443, allocations: 49.33 kB / 395.3 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.003522, allocations: 87.73 kB / 395.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.00363, allocations: 59.72 kB / 395.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.003656, allocations: 12 kB / 395.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.003672, allocations: 16 kB / 395.5 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.003714, allocations: 43.83 kB / 395.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.003761, allocations: 47.83 kB / 395.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.003927, allocations: 151.3 kB / 395.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003929, allocations: 0 / 395.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003929, allocations: 0 / 395.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.003935, allocations: 0 / 395.7 MB, free: 0.5078 MB / 314.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.0005799/0.004514, allocations: 425.6 kB / 396.1 MB, free: 60 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.004552, allocations: 8.031 kB / 396.1 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.004607, allocations: 50.81 kB / 396.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.004643, allocations: 32.69 kB / 396.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.004876, allocations: 194.7 kB / 396.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.004889, allocations: 12.66 kB / 396.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.004913, allocations: 16.31 kB / 396.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.00511, allocations: 199.3 kB / 396.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005119, allocations: 3.938 kB / 396.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.005132, allocations: 4 kB / 396.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005137, allocations: 4 kB / 396.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.005254, allocations: 92.59 kB / 396.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.005962, allocations: 0.9078 MB / 397.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.006168, allocations: 106.5 kB / 397.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.006216, allocations: 36.84 kB / 397.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.006227, allocations: 4 kB / 397.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.006252, allocations: 34.56 kB / 397.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.006253, allocations: 0 / 397.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002302/0.006483, allocations: 141.9 kB / 397.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.006511, allocations: 51.41 kB / 398 MB, free: 14.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.006676, allocations: 232 kB / 398.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.006688, allocations: 29.7 kB / 398.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.006991, allocations: 140.2 kB / 398.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.007017, allocations: 51.56 kB / 398.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.00706, allocations: 37.7 kB / 398.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.007145, allocations: 326.8 kB / 398.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.007195, allocations: 35.98 kB / 398.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.007267, allocations: 81.98 kB / 398.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.007387, allocations: 125.8 kB / 399 MB, free: 12.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.007391, allocations: 8 kB / 399 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001765/0.007567, allocations: 168.9 kB / 399.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.00758, allocations: 4 kB / 399.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.007586, allocations: 4 kB / 399.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.007599, allocations: 0 / 399.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.007673, allocations: 35.92 kB / 399.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.00768, allocations: 4 kB / 399.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.007729, allocations: 12.08 kB / 399.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.007737, allocations: 12 kB / 399.3 MB, free: 12.65 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: 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.808e-05/0.007815, allocations: 129.7 kB / 399.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.007836, allocations: 23.8 kB / 399.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.007862, allocations: 25.45 kB / 399.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.007864, allocations: 0 / 399.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007869, allocations: 0 / 399.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007871, allocations: 0 / 399.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.008034, allocations: 204.6 kB / 399.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008035, allocations: 0 / 399.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.008107, allocations: 19.98 kB / 399.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008109, allocations: 8 kB / 399.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.008117, allocations: 0 / 399.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.008118, allocations: 0 / 399.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.00812, allocations: 3.984 kB / 399.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.00834, allocations: 251.2 kB / 399.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.008375, allocations: 27.88 kB / 400 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.008392, allocations: 4 kB / 400 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.008441, allocations: 0 / 400 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.008459, allocations: 7.984 kB / 400 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.008466, allocations: 11.94 kB / 400 MB, free: 11.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.266e-05/0.008558, allocations: 157.6 kB / 400.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008558, allocations: 4 kB / 400.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.008737, allocations: 31.95 kB / 400.2 MB, free: 11.7 MB / 330.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.000365/0.009102, allocations: 0.7747 MB / 400.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.00925, allocations: 91.89 kB / 401 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.009252, allocations: 0 / 401 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.009295, allocations: 39.92 kB / 401.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.009555, allocations: 33.09 kB / 401.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.01127, allocations: 2.169 MB / 403.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.01135, allocations: 116.9 kB / 403.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.01141, allocations: 21.62 kB / 403.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.01147, allocations: 52.48 kB / 403.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01147, allocations: 3.938 kB / 403.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/0.09405, allocations: 4.233 MB / 407.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.233, allocations: 6.375 kB / 407.7 MB, free: 4.145 MB / 330.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.690312906168401]