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.001578/0.001578, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002323/0.002323, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 67.88 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.267, allocations: 50.53 MB / 409.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003756/0.2708, allocations: 2.858 MB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2724, allocations: 0.7517 MB / 412.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.2726, allocations: 8 kB / 412.9 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.2727, allocations: 63.42 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.2729, allocations: 95.05 kB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.2734, allocations: 127.8 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.2738, allocations: 450.8 kB / 413.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.2742, allocations: 224.9 kB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.2744, allocations: 183.4 kB / 414 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.2747, allocations: 203.1 kB / 414.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.954e-05/0.2747, allocations: 44 kB / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.2749, allocations: 56 kB / 414.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.275, allocations: 103.7 kB / 414.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.2751, allocations: 211.1 kB / 414.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.2756, allocations: 0.4994 MB / 415.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2756, allocations: 0 / 415.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2757, allocations: 4 kB / 415.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.2757, allocations: 4 kB / 415.1 MB, free: 11.76 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.001141/0.2768, allocations: 0.6826 MB / 415.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2769, allocations: 12.03 kB / 415.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.2772, allocations: 64.3 kB / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.2775, allocations: 280.3 kB / 416.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.2775, allocations: 37.38 kB / 416.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.2776, allocations: 40.38 kB / 416.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.2784, allocations: 455.6 kB / 416.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2784, allocations: 0 / 416.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.2785, allocations: 16 kB / 416.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2785, allocations: 12 kB / 416.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.279, allocations: 287.9 kB / 416.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.2809, allocations: 1.299 MB / 418.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.2813, allocations: 243.7 kB / 418.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.2817, allocations: 196.7 kB / 418.7 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2817, allocations: 4 kB / 418.7 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2818, allocations: 38.56 kB / 418.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.2818, allocations: 4 kB / 418.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001345/0.2831, allocations: 0.5501 MB / 419.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.2832, allocations: 243.3 kB / 419.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.2834, allocations: 206.8 kB / 419.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.2835, allocations: 37.7 kB / 419.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2836, allocations: 196.2 kB / 419.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.2837, allocations: 102.5 kB / 420 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.553e-05/0.2838, allocations: 61.69 kB / 420.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2839, allocations: 330.8 kB / 420.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.2841, allocations: 79.95 kB / 420.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2843, allocations: 148.5 kB / 420.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.2846, allocations: 203.3 kB / 420.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2846, allocations: 0 / 420.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004461/0.2851, allocations: 280.9 kB / 421.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.2851, allocations: 8 kB / 421.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2851, allocations: 0 / 421.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2852, allocations: 0 / 421.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.2855, allocations: 79.89 kB / 421.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2855, allocations: 4.062 kB / 421.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2857, allocations: 35.69 kB / 421.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2857, allocations: 8 kB / 421.2 MB, free: 5.199 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.0001407/0.2858, allocations: 157.7 kB / 421.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.2859, allocations: 27.66 kB / 421.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.286, allocations: 30.64 kB / 421.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.286, allocations: 4 kB / 421.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.286, allocations: 3.938 kB / 421.5 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.286, allocations: 7.984 kB / 421.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.287, allocations: 0.7749 MB / 422.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.287, allocations: 4 kB / 422.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.2873, allocations: 51.95 kB / 422.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.2876, allocations: 84.81 kB / 422.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.2876, allocations: 12.03 kB / 422.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.2896, allocations: 1.969 MB / 424.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2896, allocations: 0 / 424.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.2904, allocations: 0.5089 MB / 424.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.2905, allocations: 100.9 kB / 425 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.2906, allocations: 4 kB / 425 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.2907, allocations: 15.98 kB / 425 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.2908, allocations: 23.97 kB / 425 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2908, allocations: 7.938 kB / 425 MB, free: 1.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.291, allocations: 152.5 kB / 425.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.291, allocations: 0 / 425.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.2914, allocations: 111.5 kB / 425.3 MB, free: 0.9062 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.0001172/0.2915, allocations: 111.2 kB / 425.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.2919, allocations: 215.9 kB / 425.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2919, allocations: 0 / 425.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.2924, allocations: 270.5 kB / 425.9 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2928, allocations: 32.17 kB / 425.9 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.2941, allocations: 0.8429 MB / 426.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.2945, allocations: 0.787 MB / 427.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.2946, allocations: 25.94 kB / 427.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.2947, allocations: 27.44 kB / 427.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2947, allocations: 0 / 427.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Templates: time 0.006878/0.3016, allocations: 3.133 MB / 430.7 MB, free: 11.39 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches