Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations.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.001181/0.001181, allocations: 101.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.0008975/0.0008975, allocations: 222.3 kB / 22.25 MB, free: 3.559 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.9727/0.9727, allocations: 230.6 MB / 256 MB, free: 9.59 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.02741/0.02741, allocations: 9.544 MB / 322 MB, free: 8.461 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.ShinrikiOscillator.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_AnalyticEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ShinrikiOscillator.AnalyticEquations,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_AnalyticEquations",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.0009882/0.0009882, allocations: 75.89 kB / 448.6 MB, free: 37.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07996/0.08094, allocations: 55.78 MB / 0.4926 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ShinrikiOscillator.AnalyticEquations): time 0.001962/0.08291, allocations: 1.455 MB / 0.494 GB, free: 12.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003613/0.08327, allocations: 229.2 kB / 0.4942 GB, free: 12.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.08331, allocations: 0 / 0.4942 GB, free: 12.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.0835, allocations: 43.77 kB / 0.4942 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.989e-05/0.08353, allocations: 27.72 kB / 0.4943 GB, free: 12.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.08367, allocations: 23.95 kB / 0.4943 GB, free: 12.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.08378, allocations: 95.52 kB / 0.4944 GB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.08382, allocations: 8.219 kB / 0.4944 GB, free: 11.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.056e-05/0.08388, allocations: 35.91 kB / 0.4944 GB, free: 11.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.08396, allocations: 43.77 kB / 0.4945 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.08397, allocations: 4 kB / 0.4945 GB, free: 11.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.08399, allocations: 8 kB / 0.4945 GB, free: 11.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.08401, allocations: 15.97 kB / 0.4945 GB, free: 11.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.08405, allocations: 35.78 kB / 0.4945 GB, free: 11.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 9.74e-05/0.08414, allocations: 63.95 kB / 0.4946 GB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.08415, allocations: 0 / 0.4946 GB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.08415, allocations: 0 / 0.4946 GB, free: 11.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.08416, allocations: 4 kB / 0.4946 GB, free: 11.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004659/0.08462, allocations: 329.9 kB / 0.4949 GB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.08466, allocations: 12.03 kB / 0.4949 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.08469, allocations: 38.73 kB / 0.495 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.08472, allocations: 8.891 kB / 0.495 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.08483, allocations: 130.3 kB / 0.4951 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.08484, allocations: 4.375 kB / 0.4951 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.08486, allocations: 4.375 kB / 0.4951 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.08502, allocations: 82.19 kB / 0.4952 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.08503, allocations: 3.938 kB / 0.4952 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.08504, allocations: 0 / 0.4952 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.08505, allocations: 0 / 0.4952 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.08519, allocations: 67.94 kB / 0.4952 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.08538, allocations: 168.6 kB / 0.4954 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.08559, allocations: 102.5 kB / 0.4955 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.08567, allocations: 48.83 kB / 0.4955 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.08569, allocations: 3.938 kB / 0.4956 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.08572, allocations: 34.55 kB / 0.4956 GB, free: 10.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.08572, allocations: 0 / 0.4956 GB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003453/0.08606, allocations: 161.4 kB / 0.4957 GB, free: 10.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.0861, allocations: 55.41 kB / 0.4958 GB, free: 10.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.0862, allocations: 140.2 kB / 0.4959 GB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.08622, allocations: 25.7 kB / 0.4959 GB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.08626, allocations: 100.1 kB / 0.496 GB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.08631, allocations: 31.97 kB / 0.4961 GB, free: 10.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.08635, allocations: 21.72 kB / 0.4961 GB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.08644, allocations: 318.8 kB / 0.4964 GB, free: 9.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.08653, allocations: 39.97 kB / 0.4964 GB, free: 9.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.0866, allocations: 43.97 kB / 0.4965 GB, free: 9.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.08675, allocations: 84.8 kB / 0.4966 GB, free: 9.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.08675, allocations: 3.938 kB / 0.4966 GB, free: 9.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.08694, allocations: 133.5 kB / 0.4967 GB, free: 9.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.08696, allocations: 11.94 kB / 0.4967 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.08696, allocations: 0 / 0.4967 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.08697, allocations: 4.281 kB / 0.4967 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.0871, allocations: 35.91 kB / 0.4967 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.08711, allocations: 4 kB / 0.4967 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.08715, allocations: 7.938 kB / 0.4968 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.08716, allocations: 7.984 kB / 0.4968 GB, free: 9.324 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 (10): * Single equations (assignments): 10 * 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.558e-05/0.08723, allocations: 113.8 kB / 0.4969 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.08724, allocations: 11.89 kB / 0.4969 GB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.08726, allocations: 12.72 kB / 0.4969 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.08727, allocations: 11.98 kB / 0.4969 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.08727, allocations: 0 / 0.4969 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.08728, allocations: 0 / 0.4969 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.08739, allocations: 156.7 kB / 0.4971 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.08739, allocations: 0 / 0.4971 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.0875, allocations: 31.97 kB / 0.4971 GB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.0875, allocations: 3.938 kB / 0.4971 GB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.08751, allocations: 11.92 kB / 0.4971 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.08751, allocations: 3.938 kB / 0.4971 GB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.08752, allocations: 0 / 0.4971 GB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.08782, allocations: 197 kB / 0.4973 GB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.08784, allocations: 7.984 kB / 0.4973 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.08785, allocations: 7.938 kB / 0.4973 GB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.0879, allocations: 4 kB / 0.4973 GB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.08793, allocations: 7.984 kB / 0.4973 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.08794, allocations: 7.984 kB / 0.4973 GB, free: 8.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.08799, allocations: 103.3 kB / 0.4974 GB, free: 8.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08799, allocations: 0 / 0.4974 GB, free: 8.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.08813, allocations: 28 kB / 0.4975 GB, free: 8.547 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (v1,v2,iL) * 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 (7): * Single equations (assignments): 7 * 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.0004694/0.0886, allocations: 0.7293 MB / 0.4982 GB, free: 7.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.08882, allocations: 92.38 kB / 0.4983 GB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.08882, allocations: 0 / 0.4983 GB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/0.0889, allocations: 51.97 kB / 0.4983 GB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.08911, allocations: 10.41 kB / 0.4983 GB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.09085, allocations: 1.808 MB / 0.5001 GB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.0909, allocations: 79.28 kB / 0.5002 GB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.09093, allocations: 7.984 kB / 0.5002 GB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.091, allocations: 27.42 kB / 0.5002 GB, free: 5.613 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.091, allocations: 4 kB / 0.5002 GB, free: 5.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.1676, allocations: 2.998 MB / 0.5031 GB, free: 2.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.2, allocations: 4 kB / 0.5031 GB, free: 2.711 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_AnalyticEquations_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations_fmpy_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-06 ../ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_AnalyticEquations.fmu) > ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.AnalyticEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.218049695715308]