Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 109.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 207.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2256, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003588/0.2293, allocations: 2.843 MB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2305, allocations: 0.7593 MB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2306, allocations: 8 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.2308, allocations: 63.42 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.231, allocations: 91.06 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.2313, allocations: 127.8 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.2319, allocations: 462.7 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.2322, allocations: 208.9 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.2325, allocations: 187.4 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.2327, allocations: 207.1 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.2328, allocations: 44 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2329, allocations: 56 kB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.233, allocations: 99.67 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.2331, allocations: 219 kB / 415.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.2336, allocations: 0.4994 MB / 415.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2336, allocations: 4 kB / 415.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2336, allocations: 0 / 415.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2336, allocations: 0 / 415.8 MB, free: 11.72 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.001013/0.2347, allocations: 0.6787 MB / 416.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2347, allocations: 12.03 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.2349, allocations: 56.36 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.2352, allocations: 292.3 kB / 416.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.2353, allocations: 33.38 kB / 416.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.2353, allocations: 44.38 kB / 416.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.236, allocations: 451.5 kB / 417.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2361, allocations: 7.984 kB / 417.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.2361, allocations: 24 kB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2361, allocations: 8 kB / 417.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.2366, allocations: 283.9 kB / 417.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.2384, allocations: 1.299 MB / 418.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.2388, allocations: 239.8 kB / 419.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.2392, allocations: 200.6 kB / 419.4 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2392, allocations: 4 kB / 419.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2393, allocations: 42.5 kB / 419.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.674e-06/0.2393, allocations: 0 / 419.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001335/0.2406, allocations: 0.5501 MB / 420 MB, free: 7.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.2407, allocations: 243.3 kB / 420.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2409, allocations: 206.8 kB / 420.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.241, allocations: 33.7 kB / 420.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.2411, allocations: 204.2 kB / 420.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.2412, allocations: 102.5 kB / 420.7 MB, free: 6.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.2413, allocations: 57.7 kB / 420.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2414, allocations: 334.8 kB / 421.1 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2416, allocations: 71.97 kB / 421.2 MB, free: 5.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.2418, allocations: 156.5 kB / 421.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.2421, allocations: 204.2 kB / 421.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2421, allocations: 0 / 421.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004401/0.2426, allocations: 277 kB / 421.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2426, allocations: 11.98 kB / 421.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2426, allocations: 0 / 421.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2426, allocations: 0 / 421.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.243, allocations: 79.89 kB / 421.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.243, allocations: 4 kB / 421.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.2432, allocations: 35.75 kB / 421.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2432, allocations: 8 kB / 421.9 MB, free: 5.148 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.0001386/0.2433, allocations: 153.7 kB / 422.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.2434, allocations: 27.66 kB / 422.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.999e-05/0.2435, allocations: 34.64 kB / 422.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2435, allocations: 4 kB / 422.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2435, allocations: 4 kB / 422.2 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.2435, allocations: 3.984 kB / 422.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2445, allocations: 0.7672 MB / 422.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2445, allocations: 0 / 422.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.2448, allocations: 55.91 kB / 423 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.2451, allocations: 84.8 kB / 423.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.2451, allocations: 8 kB / 423.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.2471, allocations: 1.985 MB / 425.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2471, allocations: 0 / 425.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007348/0.2478, allocations: 0.505 MB / 425.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.2479, allocations: 96.86 kB / 425.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.248, allocations: 12.12 kB / 425.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2481, allocations: 11.98 kB / 425.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.2482, allocations: 23.97 kB / 425.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2482, allocations: 4 kB / 425.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.2483, allocations: 156.5 kB / 425.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2483, allocations: 0 / 425.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.2487, allocations: 111.5 kB / 426 MB, free: 0.8594 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.0001319/0.2489, allocations: 115.1 kB / 426.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.2492, allocations: 211.9 kB / 426.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2493, allocations: 0 / 426.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.2497, allocations: 274.5 kB / 426.6 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.2501, allocations: 36.17 kB / 426.6 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2513, allocations: 0.868 MB / 427.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2516, allocations: 0.7831 MB / 428.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.2517, allocations: 23.42 kB / 428.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2517, allocations: 0 / 428.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Templates: time 0.005522/0.2572, allocations: 4.038 MB / 432.3 MB, free: 10.43 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches