Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001671/0.001671, allocations: 123.5 kB / 18.41 MB, free: 4.672 MB / 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.001696/0.001696, allocations: 192.3 kB / 21.35 MB, free: 1.738 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.431/1.431, allocations: 222.9 MB / 247.1 MB, free: 4.086 MB / 190.1 MB " [Timeout remaining time 178] 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.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 55.91 kB / 358.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 49.44 MB / 408.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004307/0.1171, allocations: 2.832 MB / 410.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1188, allocations: 0.7166 MB / 411.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.119, allocations: 4 kB / 411.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1192, allocations: 63.36 kB / 411.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1196, allocations: 99.11 kB / 411.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.12, allocations: 119.8 kB / 411.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.1205, allocations: 446.8 kB / 412.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.1209, allocations: 228.8 kB / 412.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.1212, allocations: 179.4 kB / 412.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.1215, allocations: 207.1 kB / 413 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.1216, allocations: 44 kB / 413 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.1217, allocations: 48 kB / 413 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1218, allocations: 103.7 kB / 413.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.1221, allocations: 215.1 kB / 413.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.1226, allocations: 0.494 MB / 413.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1226, allocations: 4 kB / 413.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1226, allocations: 0 / 413.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.1227, allocations: 3.984 kB / 413.9 MB, free: 0.957 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001195/0.1239, allocations: 0.6977 MB / 414.6 MB, free: 216 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1239, allocations: 11.89 kB / 414.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.124, allocations: 48.66 kB / 414.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.1243, allocations: 277.2 kB / 414.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.1244, allocations: 33.38 kB / 414.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.1245, allocations: 40.38 kB / 415 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.1252, allocations: 451.6 kB / 415.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1252, allocations: 7.984 kB / 415.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.1253, allocations: 16 kB / 415.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1253, allocations: 8 kB / 415.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.1259, allocations: 283.9 kB / 415.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.1281, allocations: 1.307 MB / 417 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.1286, allocations: 235.7 kB / 417.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.129, allocations: 213.8 kB / 417.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.129, allocations: 4 kB / 417.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1291, allocations: 42.55 kB / 417.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.1291, allocations: 3.938 kB / 417.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001519/0.1306, allocations: 0.542 MB / 418 MB, free: 12.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.1308, allocations: 239.3 kB / 418.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.131, allocations: 207 kB / 418.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.131, allocations: 29.7 kB / 418.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1312, allocations: 208.6 kB / 418.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.735e-05/0.1313, allocations: 107.1 kB / 418.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1314, allocations: 61.69 kB / 418.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1315, allocations: 334.8 kB / 419.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.1317, allocations: 71.97 kB / 419.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.1319, allocations: 168.7 kB / 419.4 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1323, allocations: 191.4 kB / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1323, allocations: 0 / 419.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004884/0.1328, allocations: 280.9 kB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1328, allocations: 12.06 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1328, allocations: 0 / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1329, allocations: 4 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.1332, allocations: 79.89 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1332, allocations: 4 kB / 420 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1334, allocations: 27.78 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.1334, allocations: 15.98 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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 0.0001653/0.1336, allocations: 149.8 kB / 420.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1337, allocations: 31.8 kB / 420.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.1337, allocations: 26.66 kB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1338, allocations: 7.984 kB / 420.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.1338, allocations: 4 kB / 420.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1338, allocations: 0 / 420.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.1351, allocations: 0.7711 MB / 421 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.1351, allocations: 7.984 kB / 421 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.1354, allocations: 55.94 kB / 421.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003275/0.1357, allocations: 88.75 kB / 421.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1358, allocations: 7.984 kB / 421.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.1379, allocations: 1.977 MB / 423.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.138, allocations: 0 / 423.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.1388, allocations: 0.4974 MB / 423.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.1389, allocations: 100.9 kB / 423.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.1389, allocations: 16.05 kB / 423.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1391, allocations: 8 kB / 423.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.1391, allocations: 23.91 kB / 423.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1392, allocations: 12 kB / 423.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1393, allocations: 160.3 kB / 424 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1393, allocations: 0 / 424 MB, free: 6.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.1398, allocations: 107.7 kB / 424.1 MB, free: 6.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.1399, allocations: 107.1 kB / 424.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.1405, allocations: 213.2 kB / 424.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1405, allocations: 8 kB / 424.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.141, allocations: 270.5 kB / 424.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1414, allocations: 31.98 kB / 424.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.1427, allocations: 0.8891 MB / 425.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.1432, allocations: 0.787 MB / 426.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1433, allocations: 23.44 kB / 426.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1433, allocations: 0 / 426.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of Templates: time 0.1689/0.3122, allocations: 4.058 MB / 430.5 MB, free: 22.04 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.263273115968332]