Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations.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.001015/0.001015, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001043/0.001043, allocations: 212.7 kB / 22.25 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 1.059/1.059, 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.02735/0.02735, allocations: 9.558 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.VanDerPol.AlternativeEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_AlternativeEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.VanDerPol.AlternativeEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_VanDerPol_AlternativeEquations",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.0009031/0.0009031, allocations: 71.89 kB / 448.6 MB, free: 37.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.08054, allocations: 55.78 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.VanDerPol.AlternativeEquations): time 0.00209/0.08263, allocations: 1.229 MB / 0.4938 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006084/0.08324, allocations: 413.5 kB / 0.4942 GB, free: 12.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.08327, allocations: 0 / 0.4942 GB, free: 12.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.08329, allocations: 0 / 0.4942 GB, free: 12.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.08347, allocations: 7.938 kB / 0.4942 GB, free: 12.19 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.489e-05/0.08351, allocations: 3.984 kB / 0.4942 GB, free: 12.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.08357, allocations: 35.8 kB / 0.4942 GB, free: 12.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.08362, allocations: 0 / 0.4942 GB, free: 12.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.08381, allocations: 23.97 kB / 0.4942 GB, free: 12.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.08388, allocations: 11.92 kB / 0.4942 GB, free: 12.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.08389, allocations: 3.938 kB / 0.4942 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.0839, allocations: 4 kB / 0.4942 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.08392, allocations: 7.938 kB / 0.4943 GB, free: 12.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.08394, allocations: 11.92 kB / 0.4943 GB, free: 12.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.384e-05/0.08402, allocations: 16.14 kB / 0.4943 GB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.08402, allocations: 0 / 0.4943 GB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.08402, allocations: 4 kB / 0.4943 GB, free: 12.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.08403, allocations: 0 / 0.4943 GB, free: 12.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004118/0.08444, allocations: 266.3 kB / 0.4945 GB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.08449, allocations: 8.031 kB / 0.4945 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.08452, allocations: 34.75 kB / 0.4946 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.08455, allocations: 8.891 kB / 0.4946 GB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.08465, allocations: 110.5 kB / 0.4947 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.08466, allocations: 384 / 0.4947 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.08469, allocations: 4.359 kB / 0.4947 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.0848, allocations: 53.75 kB / 0.4947 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.08481, allocations: 0 / 0.4947 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.08482, allocations: 0 / 0.4947 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.08482, allocations: 0 / 0.4947 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.08489, allocations: 15.98 kB / 0.4948 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.08504, allocations: 124.8 kB / 0.4949 GB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.08523, allocations: 46.55 kB / 0.4949 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.08526, allocations: 16.92 kB / 0.4949 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.08528, allocations: 0 / 0.4949 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.0853, allocations: 42.44 kB / 0.495 GB, free: 11.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.0853, allocations: 4 kB / 0.495 GB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001606/0.08546, allocations: 61.64 kB / 0.495 GB, free: 11.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.08549, allocations: 51.41 kB / 0.4951 GB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.08556, allocations: 105.8 kB / 0.4952 GB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.08557, allocations: 29.7 kB / 0.4952 GB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.0856, allocations: 80.14 kB / 0.4953 GB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.08563, allocations: 23.83 kB / 0.4953 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.08566, allocations: 17.72 kB / 0.4953 GB, free: 10.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.08574, allocations: 314.8 kB / 0.4956 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.08577, allocations: 11.98 kB / 0.4957 GB, free: 10.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.08578, allocations: 7.938 kB / 0.4957 GB, free: 10.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/0.08584, allocations: 40.8 kB / 0.4957 GB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.08585, allocations: 0 / 0.4957 GB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.934e-05/0.08593, allocations: 65.77 kB / 0.4958 GB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.08594, allocations: 6.188 kB / 0.4958 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.08595, allocations: 4 kB / 0.4958 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.08596, allocations: 0 / 0.4958 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.08603, allocations: 15.98 kB / 0.4958 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.08603, allocations: 0 / 0.4958 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.08605, allocations: 0 / 0.4958 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.08605, allocations: 4 kB / 0.4958 GB, free: 10.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.124e-05/0.08611, allocations: 117.8 kB / 0.4959 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.08612, allocations: 11.89 kB / 0.4959 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.08625, allocations: 65.67 kB / 0.496 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.08625, allocations: 0 / 0.496 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.08625, allocations: 0 / 0.496 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.08626, allocations: 0 / 0.496 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.335e-05/0.08635, allocations: 136.7 kB / 0.4961 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.08635, allocations: 0 / 0.4961 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.08642, allocations: 19.92 kB / 0.4961 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.08643, allocations: 0 / 0.4961 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.08644, allocations: 7.938 kB / 0.4961 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.08644, allocations: 4 kB / 0.4961 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.08644, allocations: 0 / 0.4961 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.08657, allocations: 89.12 kB / 0.4962 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.08658, allocations: 11.92 kB / 0.4962 GB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.0866, allocations: 7.984 kB / 0.4962 GB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.08661, allocations: 0 / 0.4962 GB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.08663, allocations: 7.938 kB / 0.4962 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.08663, allocations: 0 / 0.4962 GB, free: 9.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.08666, allocations: 87.27 kB / 0.4963 GB, free: 9.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08666, allocations: 4 kB / 0.4963 GB, free: 9.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.0868, allocations: 4 kB / 0.4963 GB, free: 9.691 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x,z) * 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003215/0.08712, allocations: 0.6437 MB / 0.497 GB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.08722, allocations: 27.98 kB / 0.497 GB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.08722, allocations: 0 / 0.497 GB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.08724, allocations: 19.86 kB / 0.497 GB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.08737, allocations: 8 kB / 0.497 GB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008706/0.08824, allocations: 1.205 MB / 0.4982 GB, free: 7.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.08829, allocations: 71.39 kB / 0.4983 GB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.266e-05/0.08831, allocations: 4 kB / 0.4983 GB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.08835, allocations: 15.62 kB / 0.4983 GB, free: 7.566 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.08835, allocations: 0 / 0.4983 GB, free: 7.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08259/0.1709, allocations: 1.966 MB / 0.5002 GB, free: 5.703 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/7.01, allocations: 9.922 kB / 0.5002 GB, free: 5.699 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_VanDerPol_AlternativeEquations_fmu --startTime=0 --stopTime=0.2 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_VanDerPol_AlternativeEquations.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations_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_AlternativeEquations.fmu) > ChaoticCircuits_ChaoticCircuits.VanDerPol.AlternativeEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.644087802618742]