Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.VanDerPol.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.0009656/0.0009656, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008817/0.0008817, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.971/0.971, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.04841/0.04841, allocations: 7.123 MB / 266.3 MB, free: 6.25 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.VanDerPol.ScaledBlocks,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.VanDerPol.ScaledBlocks,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 393 MB, free: 3.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.391e-05, allocations: 2.281 kB / 393 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.VanDerPol.ScaledBlocks): time 0.002406/0.00243, allocations: 1.854 MB / 394.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.003303, allocations: 0.565 MB / 395.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.003407, allocations: 7.938 kB / 395.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.003551, allocations: 23.67 kB / 395.5 MB, free: 0.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.003635, allocations: 35.66 kB / 395.5 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.00398, allocations: 79.78 kB / 395.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.004184, allocations: 171.3 kB / 395.7 MB, free: 480 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.004332, allocations: 44.56 kB / 395.8 MB, free: 436 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.004497, allocations: 103.6 kB / 395.9 MB, free: 332 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.00461, allocations: 63.73 kB / 395.9 MB, free: 268 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.004633, allocations: 12 kB / 396 MB, free: 256 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.004681, allocations: 19.94 kB / 396 MB, free: 236 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.004719, allocations: 39.83 kB / 396 MB, free: 196 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.004765, allocations: 51.77 kB / 396.1 MB, free: 144 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.004965, allocations: 163.3 kB / 396.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004967, allocations: 4 kB / 396.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004968, allocations: 0 / 396.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.004973, allocations: 0 / 396.2 MB, free: 15.98 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005775/0.00555, allocations: 441.5 kB / 396.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.005587, allocations: 8.031 kB / 396.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.005629, allocations: 50.67 kB / 396.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.005733, allocations: 40.73 kB / 396.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.005953, allocations: 193.4 kB / 396.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.005964, allocations: 8.656 kB / 397 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.005991, allocations: 16.33 kB / 397 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.006206, allocations: 185.2 kB / 397.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006215, allocations: 192 / 397.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.006229, allocations: 12.12 kB / 397.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.006235, allocations: 8 kB / 397.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.006372, allocations: 99.88 kB / 397.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.007044, allocations: 0.7423 MB / 398 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.007206, allocations: 94.55 kB / 398.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.007277, allocations: 44.78 kB / 398.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.007295, allocations: 8 kB / 398.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.007608, allocations: 38.77 kB / 398.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.00761, allocations: 3.938 kB / 398.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003243/0.007934, allocations: 153.5 kB / 398.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.007964, allocations: 51.41 kB / 398.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.008165, allocations: 237.7 kB / 398.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.008181, allocations: 29.7 kB / 398.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.008268, allocations: 147.9 kB / 398.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.008299, allocations: 43.64 kB / 398.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.008347, allocations: 37.7 kB / 398.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.008449, allocations: 330.8 kB / 399.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.008521, allocations: 35.89 kB / 399.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.008608, allocations: 75.64 kB / 399.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.008777, allocations: 120.1 kB / 399.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.00878, allocations: 0 / 399.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002362/0.009016, allocations: 165.4 kB / 399.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.009031, allocations: 8 kB / 399.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.009036, allocations: 0 / 399.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.00905, allocations: 4 kB / 399.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.009161, allocations: 27.92 kB / 399.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.009167, allocations: 4 kB / 399.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.009232, allocations: 15.89 kB / 399.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.009242, allocations: 4 kB / 399.7 MB, free: 12.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (integrator_z.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 (18): * Single equations (assignments): 18 * 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.367e-05/0.009335, allocations: 145.8 kB / 399.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.009371, allocations: 31.78 kB / 399.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.009403, allocations: 17.78 kB / 399.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.009406, allocations: 0 / 399.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.009409, allocations: 0 / 399.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.009413, allocations: 7.984 kB / 399.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.009614, allocations: 200.7 kB / 400 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009617, allocations: 3.938 kB / 400.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.009704, allocations: 19.98 kB / 400.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.009705, allocations: 0 / 400.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.009716, allocations: 8 kB / 400.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.009718, allocations: 0 / 400.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009719, allocations: 4 kB / 400.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.01002, allocations: 275.6 kB / 400.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01005, allocations: 23.81 kB / 400.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01007, allocations: 8 kB / 400.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.01014, allocations: 0 / 400.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01018, allocations: 7.984 kB / 400.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01018, allocations: 4 kB / 400.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.01031, allocations: 173.3 kB / 400.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01031, allocations: 4 kB / 400.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01055, allocations: 31.94 kB / 400.6 MB, free: 11.28 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (integrator_x.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 (12): * Single equations (assignments): 12 * 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.0004607/0.01101, allocations: 0.7981 MB / 401.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01119, allocations: 91.89 kB / 401.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01119, allocations: 0 / 401.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.01126, allocations: 44.23 kB / 401.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01155, allocations: 35.97 kB / 401.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.01381, allocations: 2.209 MB / 403.8 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.905e-05/0.01391, allocations: 129.2 kB / 403.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.405e-05/0.01399, allocations: 21.62 kB / 403.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.01407, allocations: 52.48 kB / 404 MB, free: 7.758 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01407, allocations: 0 / 404 MB, free: 7.758 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/0.1467, allocations: 4.394 MB / 408.4 MB, free: 3.504 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.244, allocations: 0 / 408.4 MB, free: 3.504 MB / 330.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks_fmu --startTime=0 --stopTime=0.2 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_ScaledBlocks.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.ScaledBlocks_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.211033777333796]