Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 157 kB / 24.48 MB, free: 3.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 173.4 MB / 201.1 MB, free: 12.61 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=999,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.77 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08408, allocations: 52.17 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005769/0.08985, allocations: 4.465 MB / 376 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.1014, allocations: 9.287 MB / 385.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004505/0.1018, allocations: 47.5 kB / 385.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1033, allocations: 0.6184 MB / 386 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.1054, allocations: 1.024 MB / 387 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.1067, allocations: 0.5981 MB / 387.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.1087, allocations: 1.378 MB / 389 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.1089, allocations: 105.8 kB / 389.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003516/0.1092, allocations: 310.4 kB / 389.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.1096, allocations: 290 kB / 389.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.1097, allocations: 32 kB / 389.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1109, allocations: 0.6712 MB / 390.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.111, allocations: 107.3 kB / 390.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.1113, allocations: 302 kB / 390.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1129, allocations: 1.288 MB / 392.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1129, allocations: 0 / 392.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1129, allocations: 0 / 392.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1129, allocations: 0 / 392.1 MB, free: 2.746 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001982/0.1149, allocations: 1.289 MB / 393.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1149, allocations: 16.86 kB / 393.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.1151, allocations: 128.2 kB / 393.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1161, allocations: 0.6723 MB / 394.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1162, allocations: 24.59 kB / 394.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.1162, allocations: 24 kB / 394.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.1169, allocations: 318 kB / 394.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1169, allocations: 0 / 394.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.1169, allocations: 12 kB / 394.5 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1169, allocations: 7.984 kB / 394.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.1176, allocations: 282.5 kB / 394.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.1195, allocations: 1.211 MB / 396 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.1202, allocations: 274.5 kB / 396.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.1206, allocations: 216.8 kB / 396.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00334/0.124, allocations: 1.435 MB / 398 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.1244, allocations: 195.2 kB / 398.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.1244, allocations: 0 / 398.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00168/0.1261, allocations: 0.5765 MB / 398.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1261, allocations: 63.39 kB / 398.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/0.1271, allocations: 0.8029 MB / 399.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1272, allocations: 25.7 kB / 399.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.1276, allocations: 456.7 kB / 400.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.1277, allocations: 103.1 kB / 400.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1278, allocations: 73.98 kB / 400.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1279, allocations: 329.9 kB / 400.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.1283, allocations: 112.8 kB / 400.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.1287, allocations: 228.3 kB / 400.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007205/0.1294, allocations: 356.9 kB / 401.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1294, allocations: 4 kB / 401.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001063/0.1305, allocations: 0.5219 MB / 401.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1305, allocations: 8 kB / 401.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-05/0.1305, allocations: 32 kB / 401.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.1307, allocations: 57.62 kB / 401.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1311, allocations: 72.3 kB / 401.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.1333, allocations: 2.607 MB / 404.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.1336, allocations: 43.72 kB / 404.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.1337, allocations: 16 kB / 404.6 MB, free: 5.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.1339, allocations: 209.8 kB / 404.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.1341, allocations: 111.3 kB / 404.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1352, allocations: 489.8 kB / 405.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1352, allocations: 11.88 kB / 405.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1352, allocations: 0 / 405.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1352, allocations: 0 / 405.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.1358, allocations: 466.4 kB / 405.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/0.1358, allocations: 31.98 kB / 405.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.1361, allocations: 43.91 kB / 405.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/0.1362, allocations: 53.67 kB / 406 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.1363, allocations: 8 kB / 406 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.1384, allocations: 2.595 MB / 408.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1384, allocations: 4.094 kB / 408.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.1397, allocations: 0.6001 MB / 409.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.1399, allocations: 111.2 kB / 409.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.058e-05/0.14, allocations: 4 kB / 409.3 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.1402, allocations: 20.05 kB / 409.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.1403, allocations: 27.95 kB / 409.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.1403, allocations: 16.12 kB / 409.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006554/0.141, allocations: 0.5424 MB / 409.9 MB, free: 12 kB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.141, allocations: 0 / 409.9 MB, free: 12 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.1416, allocations: 243.5 kB / 410.1 MB, free: 15.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005504/0.1422, allocations: 360.5 kB / 410.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.1432, allocations: 0.5688 MB / 411.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1432, allocations: 0 / 411.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.1439, allocations: 419 kB / 411.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.1444, allocations: 116.3 kB / 411.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.1469, allocations: 1.539 MB / 413.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1473, allocations: 361.3 kB / 413.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.1475, allocations: 85.19 kB / 413.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.1476, allocations: 44.5 kB / 413.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1476, allocations: 3.938 kB / 413.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of Templates: time 0.01731/0.1649, allocations: 8.365 MB / 422 MB, free: 3.879 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkRtlInverter/Spice3BenchmarkRtlInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.861107929027639]