Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.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.0007657/0.0007657, 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.0008234/0.0008234, allocations: 165.9 kB / 22.45 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.9372/0.9372, 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.02642/0.02642, allocations: 7.122 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.ShinrikiOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_ImprovedCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 393 MB, free: 3.234 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.152e-05, allocations: 5.234 kB / 393 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit): time 0.003317/0.003329, allocations: 3.999 MB / 397 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.004658, allocations: 1.098 MB / 398.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.004822, allocations: 11.94 kB / 398.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.005115, allocations: 130.8 kB / 398.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.00532, allocations: 210.2 kB / 398.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.005581, allocations: 199.6 kB / 398.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.006076, allocations: 0.8205 MB / 399.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.006318, allocations: 182.4 kB / 399.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.006633, allocations: 447.1 kB / 400.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.006846, allocations: 247.2 kB / 400.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.006911, allocations: 76 kB / 400.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.576e-05/0.006977, allocations: 76 kB / 400.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.007068, allocations: 159.5 kB / 400.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.007218, allocations: 243.4 kB / 400.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.007708, allocations: 0.8257 MB / 401.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00771, allocations: 0 / 401.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.007711, allocations: 0 / 401.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.007717, allocations: 4 kB / 401.7 MB, free: 10.49 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001171/0.008887, allocations: 0.918 MB / 402.6 MB, free: 9.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.008926, allocations: 12.03 kB / 402.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.919e-05/0.009015, allocations: 102.6 kB / 402.7 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.009089, allocations: 72.52 kB / 402.8 MB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.009467, allocations: 345.3 kB / 403.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.00949, allocations: 37.69 kB / 403.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.009541, allocations: 48.38 kB / 403.2 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.01027, allocations: 0.7912 MB / 404 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.01028, allocations: 0 / 404 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.01032, allocations: 24 kB / 404 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01033, allocations: 12 kB / 404 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.0112, allocations: 479.7 kB / 404.5 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.01307, allocations: 1.846 MB / 406.3 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.01418, allocations: 0.5785 MB / 406.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/0.0146, allocations: 295.6 kB / 407.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.01462, allocations: 8.266 kB / 407.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.01464, allocations: 42.78 kB / 407.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.312e-06/0.01464, allocations: 0 / 407.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002909/0.01755, allocations: 1.3 MB / 408.6 MB, free: 3.352 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.0176, allocations: 106.8 kB / 408.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.01789, allocations: 385.6 kB / 409 MB, free: 2.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.01792, allocations: 29.7 kB / 409.1 MB, free: 2.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.01804, allocations: 292.3 kB / 409.4 MB, free: 2.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.01811, allocations: 126.9 kB / 409.5 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.01819, allocations: 74.19 kB / 409.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.01828, allocations: 346.8 kB / 409.9 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.01853, allocations: 164.9 kB / 410.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.01882, allocations: 294.2 kB / 410.3 MB, free: 1.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.01931, allocations: 368.1 kB / 410.7 MB, free: 1.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01931, allocations: 0 / 410.7 MB, free: 1.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001912/0.02122, allocations: 0.8967 MB / 411.6 MB, free: 196 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.02124, allocations: 4 kB / 411.6 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.02124, allocations: 4 kB / 411.6 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1267/0.148, allocations: 302.2 kB / 411.9 MB, free: 29.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.1482, allocations: 75.48 kB / 412 MB, free: 29.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/0.1531, allocations: 4.546 MB / 416.5 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.1534, allocations: 60.98 kB / 416.6 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.1534, allocations: 16.47 kB / 416.6 MB, free: 27.05 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 (improvedNIC.opAmp.limiter.satNeg,improvedNIC.opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.1536, allocations: 174.3 kB / 416.8 MB, free: 26.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.1536, allocations: 45.69 kB / 416.8 MB, free: 26.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.1537, allocations: 49.14 kB / 416.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1537, allocations: 4.391 kB / 416.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1537, allocations: 3.938 kB / 416.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1537, allocations: 3.281 kB / 416.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.1541, allocations: 450.8 kB / 417.3 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1541, allocations: 1.344 kB / 417.3 MB, free: 26.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1543, allocations: 67.92 kB / 417.4 MB, free: 26.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005342/0.1548, allocations: 299 kB / 417.7 MB, free: 26.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1548, allocations: 12.08 kB / 417.7 MB, free: 26.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.1592, allocations: 4.549 MB / 422.2 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1592, allocations: 0 / 422.2 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.1612, allocations: 1.116 MB / 423.3 MB, free: 22.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.1612, allocations: 53.94 kB / 423.4 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.1612, allocations: 7.656 kB / 423.4 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1615, allocations: 52.02 kB / 423.5 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.1615, allocations: 26.88 kB / 423.5 MB, free: 22.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.1615, allocations: 20.73 kB / 423.5 MB, free: 22.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.1617, allocations: 275 kB / 423.8 MB, free: 22.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 423.8 MB, free: 22.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004862/0.1622, allocations: 172.9 kB / 423.9 MB, free: 22.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (c1.v,c2.v,inductor.i) * Number of discrete variables: 2 (improvedNIC.opAmp.limiter.satPos,improvedNIC.opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00222/0.1644, allocations: 1.666 MB / 425.6 MB, free: 21.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.1656, allocations: 0.7252 MB / 426.3 MB, free: 21.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1656, allocations: 1 kB / 426.3 MB, free: 21.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.1663, allocations: 0.5482 MB / 426.9 MB, free: 21.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1667, allocations: 84.88 kB / 427 MB, free: 21.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.1732, allocations: 5.024 MB / 432 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.1733, allocations: 244.5 kB / 432.2 MB, free: 18.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.1735, allocations: 40.42 kB / 432.3 MB, free: 18.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1736, allocations: 170.8 kB / 432.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1736, allocations: 0 / 432.4 MB, free: 18.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08887/0.2625, allocations: 14.08 MB / 446.5 MB, free: 7.352 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/8.584, allocations: 6.734 kB / 446.5 MB, free: 7.348 MB / 330.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_ImprovedCircuit_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_ShinrikiOscillator_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_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_ImprovedCircuit.fmu) > ChaoticCircuits_ChaoticCircuits.ShinrikiOscillator.ImprovedCircuit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.79333338048309]