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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 111.1 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 188.2 kB / 18.67 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 43.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2226, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003539/0.2262, allocations: 2.837 MB / 404.2 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2275, allocations: 0.7127 MB / 404.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.2276, allocations: 4 kB / 404.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.2278, allocations: 63.36 kB / 405 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.228, allocations: 95.06 kB / 405.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.2283, allocations: 127.8 kB / 405.2 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.2287, allocations: 442.8 kB / 405.7 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.2291, allocations: 224.9 kB / 405.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.2293, allocations: 179.4 kB / 406.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.2296, allocations: 203.2 kB / 406.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.2297, allocations: 47.94 kB / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.817e-05/0.2297, allocations: 48 kB / 406.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.2298, allocations: 107.7 kB / 406.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.23, allocations: 211.1 kB / 406.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.2304, allocations: 0.4955 MB / 407.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2304, allocations: 0 / 407.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2304, allocations: 0 / 407.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.2305, allocations: 4 kB / 407.2 MB, free: 3.086 MB / 318.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.001012/0.2315, allocations: 0.6852 MB / 407.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2315, allocations: 19.88 kB / 407.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.2316, allocations: 48.38 kB / 407.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.2319, allocations: 281 kB / 408.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2319, allocations: 33.38 kB / 408.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.232, allocations: 40.38 kB / 408.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.2327, allocations: 451.6 kB / 408.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2327, allocations: 4 kB / 408.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.2327, allocations: 16 kB / 408.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2328, allocations: 8 kB / 408.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.2333, allocations: 287.9 kB / 409 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.235, allocations: 1.302 MB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.2355, allocations: 242.7 kB / 410.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.2358, allocations: 192.8 kB / 410.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2359, allocations: 4.5 kB / 410.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2359, allocations: 42.56 kB / 410.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.2359, allocations: 0 / 410.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001348/0.2373, allocations: 0.5574 MB / 411.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.2374, allocations: 239.3 kB / 411.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.2376, allocations: 203 kB / 411.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2376, allocations: 33.7 kB / 411.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2378, allocations: 204.2 kB / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.2378, allocations: 98.56 kB / 412.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.2379, allocations: 61.61 kB / 412.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.238, allocations: 334.8 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2382, allocations: 75.95 kB / 412.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.2384, allocations: 161.3 kB / 412.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.2387, allocations: 195.4 kB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2387, allocations: 0 / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004283/0.2392, allocations: 280.8 kB / 413.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2392, allocations: 12.06 kB / 413.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2392, allocations: 3.938 kB / 413.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2392, allocations: 0 / 413.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.2396, allocations: 83.89 kB / 413.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2396, allocations: 4 kB / 413.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2398, allocations: 27.69 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2398, allocations: 12 kB / 413.3 MB, free: 12.52 MB / 334.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.000142/0.24, allocations: 153.8 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.24, allocations: 27.75 kB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.2401, allocations: 26.66 kB / 413.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2401, allocations: 4 kB / 413.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.2401, allocations: 7.938 kB / 413.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2401, allocations: 3.984 kB / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.2412, allocations: 0.771 MB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2412, allocations: 0 / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.2415, allocations: 52 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.2418, allocations: 92.67 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2418, allocations: 8 kB / 414.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.2437, allocations: 1.965 MB / 416.4 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2437, allocations: 7.969 kB / 416.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.2445, allocations: 0.5021 MB / 416.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.2446, allocations: 100.9 kB / 417 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.2446, allocations: 8 kB / 417 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2448, allocations: 11.98 kB / 417.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.2449, allocations: 23.91 kB / 417.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2449, allocations: 12 kB / 417.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.245, allocations: 152.5 kB / 417.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.245, allocations: 0 / 417.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004058/0.2454, allocations: 111.5 kB / 417.3 MB, free: 8.242 MB / 334.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.0001348/0.2456, allocations: 107.2 kB / 417.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.246, allocations: 215.8 kB / 417.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.246, allocations: 4.125 kB / 417.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.2465, allocations: 266.5 kB / 417.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2469, allocations: 36.05 kB / 418 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2483, allocations: 0.8746 MB / 418.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.2486, allocations: 0.787 MB / 419.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.2487, allocations: 23.44 kB / 419.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of SimCode: time 1.763e-06/0.2487, allocations: 0 / 419.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of Templates: time 0.006426/0.2551, allocations: 4.062 MB / 423.7 MB, free: 1.789 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches