Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.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.0008198/0.0008198, 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.0008459/0.0008459, 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.8908/0.8908, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.03204/0.03204, allocations: 7.123 MB / 266.3 MB, free: 6.258 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.Test.TestChuasDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.Test.TestChuasDiode,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 393 MB, free: 3.258 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.976e-05, allocations: 2.281 kB / 393 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.Test.TestChuasDiode): time 0.004383/0.004403, allocations: 4.937 MB / 397.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.006901, allocations: 1.826 MB / 399.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.007286, allocations: 15.94 kB / 399.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008052/0.008091, allocations: 349.6 kB / 400.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.008492, allocations: 285.7 kB / 400.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.008892, allocations: 275.6 kB / 400.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009446/0.009837, allocations: 1.197 MB / 401.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.01022, allocations: 278.9 kB / 402.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.01096, allocations: 0.6705 MB / 402.8 MB, free: 9.379 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.01133, allocations: 343 kB / 403.1 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.01145, allocations: 144 kB / 403.3 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.01161, allocations: 152 kB / 403.4 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.01175, allocations: 251.2 kB / 403.7 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.01202, allocations: 363.2 kB / 404 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009391/0.01296, allocations: 1.383 MB / 405.4 MB, free: 6.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01296, allocations: 0 / 405.4 MB, free: 6.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01296, allocations: 4 kB / 405.4 MB, free: 6.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.01299, allocations: 4 kB / 405.4 MB, free: 6.758 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00154/0.01453, allocations: 1.127 MB / 406.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.01457, allocations: 12.03 kB / 406.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.01467, allocations: 118.6 kB / 406.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.01486, allocations: 108.3 kB / 406.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.0156, allocations: 0.5987 MB / 407.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.01564, allocations: 45.69 kB / 407.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.01569, allocations: 60.38 kB / 407.5 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.01659, allocations: 0.9557 MB / 408.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01661, allocations: 0 / 408.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.01665, allocations: 28 kB / 408.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.01666, allocations: 19.94 kB / 408.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.01736, allocations: 0.544 MB / 409 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.01992, allocations: 2.404 MB / 411.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.02055, allocations: 454.7 kB / 411.9 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1434/0.164, allocations: 351.2 kB / 412.2 MB, free: 30.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.164, allocations: 5.016 kB / 412.2 MB, free: 30.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.1641, allocations: 44.09 kB / 412.3 MB, free: 30.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 2.235e-06/0.1641, allocations: 0 / 412.3 MB, free: 30.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001828/0.1659, allocations: 0.8731 MB / 413.1 MB, free: 30.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1659, allocations: 159.2 kB / 413.3 MB, free: 30.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.1667, allocations: 0.6967 MB / 414 MB, free: 29.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1667, allocations: 36.42 kB / 414 MB, free: 29.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1669, allocations: 390.3 kB / 414.4 MB, free: 29.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.167, allocations: 127.3 kB / 414.5 MB, free: 29.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.534e-05/0.1671, allocations: 81.23 kB / 414.6 MB, free: 29.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.1672, allocations: 372.1 kB / 415 MB, free: 29.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.1674, allocations: 164.6 kB / 415.1 MB, free: 29.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.1677, allocations: 374.8 kB / 415.5 MB, free: 28.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.1681, allocations: 386 kB / 415.9 MB, free: 28.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1681, allocations: 2.875 kB / 415.9 MB, free: 28.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008518/0.169, allocations: 0.6479 MB / 416.5 MB, free: 28.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.169, allocations: 9.75 kB / 416.5 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.169, allocations: 2 kB / 416.5 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.1695, allocations: 173.6 kB / 416.7 MB, free: 28.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.1698, allocations: 82.03 kB / 416.8 MB, free: 28.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.173, allocations: 3.997 MB / 420.8 MB, free: 24.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.1733, allocations: 67.97 kB / 420.9 MB, free: 24.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.1734, allocations: 16.08 kB / 420.9 MB, free: 24.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (improvedChuaDiode.improvedNIC.opAmp.limiter.satNeg,improvedChuaDiode.improvedNIC.opAmp.limiter.satPos,improvedChuaDiode.improvedNIC1.opAmp.limiter.satNeg,improvedChuaDiode.improvedNIC1.opAmp.limiter.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.1736, allocations: 232.4 kB / 421.1 MB, free: 24.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.1737, allocations: 71.19 kB / 421.2 MB, free: 24.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.1738, allocations: 66 kB / 421.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1738, allocations: 5.359 kB / 421.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1738, allocations: 4.812 kB / 421.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1738, allocations: 3.625 kB / 421.3 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.1755, allocations: 1.298 MB / 422.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1755, allocations: 0 / 422.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.1757, allocations: 56.09 kB / 422.6 MB, free: 23.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004326/0.1761, allocations: 169.3 kB / 422.8 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1761, allocations: 9.328 kB / 422.8 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/0.179, allocations: 4.037 MB / 426.8 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.179, allocations: 4.672 kB / 426.8 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.18, allocations: 0.6465 MB / 427.5 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1801, allocations: 92.61 kB / 427.6 MB, free: 20.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.1801, allocations: 14.27 kB / 427.6 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.1805, allocations: 53.83 kB / 427.6 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.1806, allocations: 36.5 kB / 427.7 MB, free: 20.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1806, allocations: 20.39 kB / 427.7 MB, free: 20.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005758/0.1812, allocations: 495.8 kB / 428.2 MB, free: 19.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1812, allocations: 0 / 428.2 MB, free: 19.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007254/0.1819, allocations: 204.2 kB / 428.4 MB, free: 19.74 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (improvedChuaDiode.improvedNIC1.opAmp.limiter.satPos,improvedChuaDiode.improvedNIC1.opAmp.limiter.satNeg,improvedChuaDiode.improvedNIC.opAmp.limiter.satPos,improvedChuaDiode.improvedNIC.opAmp.limiter.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.183, allocations: 1.192 MB / 429.6 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.1839, allocations: 0.6708 MB / 430.2 MB, free: 18.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1839, allocations: 1.312 kB / 430.2 MB, free: 18.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.1843, allocations: 489 kB / 430.7 MB, free: 18.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.1848, allocations: 91.38 kB / 430.8 MB, free: 18.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00837/0.1932, allocations: 6.158 MB / 437 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1935, allocations: 322.4 kB / 437.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.1937, allocations: 60.56 kB / 437.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.1939, allocations: 262.7 kB / 437.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1939, allocations: 7.828 kB / 437.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.3153, allocations: 17.1 MB / 454.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.821, allocations: 9.172 kB / 454.7 MB, free: 15.2 MB / 346.7 MB " [Timeout remaining time 651] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../ChaoticCircuits_ChaoticCircuits_Test_TestChuasDiode.fmu) > ChaoticCircuits_ChaoticCircuits.Test.TestChuasDiode_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.080740400590003]