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.0008842/0.0008842, 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.001239/0.001239, allocations: 165.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.9486/0.9486, allocations: 177.1 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.0306/0.0306, allocations: 7.119 MB / 266.3 MB, free: 6.238 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 393 MB, free: 3.234 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.169e-05, allocations: 2.281 kB / 393 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ShinrikiOscillator.AnalyticEquations): time 0.001959/0.001971, allocations: 1.453 MB / 394.4 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.002349, allocations: 227.1 kB / 394.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.002392, allocations: 4 kB / 394.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.00257, allocations: 43.69 kB / 394.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.563e-05/0.002606, allocations: 27.72 kB / 394.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.002741, allocations: 27.89 kB / 394.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.002843, allocations: 91.58 kB / 394.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.002885, allocations: 4.219 kB / 394.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.002972, allocations: 55.88 kB / 394.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.003046, allocations: 35.89 kB / 394.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.003065, allocations: 4 kB / 394.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.00308, allocations: 8 kB / 395 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.003103, allocations: 15.92 kB / 395 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.00314, allocations: 31.89 kB / 395 MB, free: 1.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003241, allocations: 67.72 kB / 395.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.003243, allocations: 0 / 395.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003244, allocations: 4 kB / 395.1 MB, free: 1.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003247, allocations: 3.938 kB / 395.1 MB, free: 1.121 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000509/0.003756, allocations: 341.8 kB / 395.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.003792, allocations: 8.031 kB / 395.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.003829, allocations: 30.75 kB / 395.4 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.003857, allocations: 8.891 kB / 395.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.003983, allocations: 133.6 kB / 395.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.003997, allocations: 384 / 395.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.004016, allocations: 8.375 kB / 395.6 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.004182, allocations: 74.2 kB / 395.7 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004191, allocations: 4.172 kB / 395.7 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.004201, allocations: 4.375 kB / 395.7 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.004206, allocations: 4.125 kB / 395.7 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.004388, allocations: 75.88 kB / 395.8 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.004581, allocations: 160.6 kB / 395.9 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.004803, allocations: 94.52 kB / 396 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.004904, allocations: 48.83 kB / 396.1 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.004916, allocations: 4 kB / 396.1 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.004946, allocations: 34.56 kB / 396.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.004947, allocations: 0 / 396.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003723/0.005319, allocations: 157.5 kB / 396.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.005349, allocations: 59.34 kB / 396.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.846e-05/0.005447, allocations: 137.8 kB / 396.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.005461, allocations: 29.7 kB / 396.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.005499, allocations: 100.1 kB / 396.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.005536, allocations: 27.97 kB / 396.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.005582, allocations: 25.7 kB / 396.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.005725, allocations: 322.8 kB / 396.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.005824, allocations: 43.97 kB / 397 MB, free: 15.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.005912, allocations: 39.97 kB / 397 MB, free: 15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.0061, allocations: 84.94 kB / 397.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006102, allocations: 7.938 kB / 397.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002406/0.006343, allocations: 129.5 kB / 397.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.006354, allocations: 4 kB / 397.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006359, allocations: 3.938 kB / 397.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.006372, allocations: 7.984 kB / 397.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.006518, allocations: 27.92 kB / 397.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.006524, allocations: 4 kB / 397.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.006589, allocations: 15.98 kB / 397.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.006598, allocations: 0 / 397.3 MB, free: 14.71 MB / 330.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.627e-05/0.006664, allocations: 113.8 kB / 397.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.006683, allocations: 11.94 kB / 397.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.006708, allocations: 12.78 kB / 397.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00671, allocations: 0 / 397.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.006715, allocations: 3.938 kB / 397.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006718, allocations: 0 / 397.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.00684, allocations: 164.6 kB / 397.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.006841, allocations: 0 / 397.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.006975, allocations: 39.91 kB / 397.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006977, allocations: 0 / 397.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.006986, allocations: 0 / 397.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006987, allocations: 0 / 397.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.00699, allocations: 7.922 kB / 397.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.007353, allocations: 201.3 kB / 397.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.00737, allocations: 7.953 kB / 397.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.007388, allocations: 4 kB / 397.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.007447, allocations: 8.031 kB / 397.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.00749, allocations: 15.92 kB / 397.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.007496, allocations: 0 / 397.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.007561, allocations: 113.8 kB / 398 MB, free: 13.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007561, allocations: 0 / 398 MB, free: 13.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002083/0.007769, allocations: 20 kB / 398 MB, free: 13.93 MB / 330.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.0006351/0.008404, allocations: 0.7333 MB / 398.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.008634, allocations: 87.95 kB / 398.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008635, allocations: 0 / 398.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.00874, allocations: 51.95 kB / 398.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.008943, allocations: 19.06 kB / 398.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.0109, allocations: 1.716 MB / 400.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.01095, allocations: 79.28 kB / 400.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.01099, allocations: 7.984 kB / 400.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.01105, allocations: 32.48 kB / 400.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01105, allocations: 0 / 400.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09272/0.1038, allocations: 3.149 MB / 403.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.218, allocations: 15.05 kB / 403.9 MB, free: 8.039 MB / 330.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.25880677998066]