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.001126/0.001126, allocations: 115.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2186, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003432/0.2221, allocations: 2.844 MB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2232, allocations: 0.7556 MB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2233, allocations: 4 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2235, allocations: 63.36 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.2237, allocations: 99 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.224, allocations: 131.8 kB / 413.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.2244, allocations: 454.7 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.2247, allocations: 212.9 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.225, allocations: 179.5 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.2252, allocations: 207.1 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.2253, allocations: 48 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.242e-05/0.2254, allocations: 52 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.2254, allocations: 99.62 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2256, allocations: 223 kB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.2261, allocations: 0.4994 MB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2261, allocations: 0 / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2261, allocations: 0 / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2261, allocations: 4 kB / 415.8 MB, free: 11.7 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.0009809/0.2271, allocations: 0.6826 MB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2271, allocations: 8.031 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2273, allocations: 64.36 kB / 416.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.2276, allocations: 284.3 kB / 416.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2277, allocations: 29.38 kB / 416.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.2277, allocations: 44.38 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.2284, allocations: 451.6 kB / 417.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.2284, allocations: 8 kB / 417.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.2285, allocations: 23.98 kB / 417.3 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2285, allocations: 8 kB / 417.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.229, allocations: 283.9 kB / 417.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2308, allocations: 1.306 MB / 418.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.2313, allocations: 246.2 kB / 419.2 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.2316, allocations: 192.7 kB / 419.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2316, allocations: 0 / 419.4 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2317, allocations: 42.5 kB / 419.4 MB, free: 7.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.2317, allocations: 4 kB / 419.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001334/0.233, allocations: 0.5463 MB / 420 MB, free: 7.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.2331, allocations: 239.3 kB / 420.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2333, allocations: 210.8 kB / 420.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2334, allocations: 29.7 kB / 420.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2335, allocations: 200.2 kB / 420.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.2336, allocations: 106.4 kB / 420.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.2337, allocations: 65.64 kB / 420.8 MB, free: 6.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2338, allocations: 334.8 kB / 421.1 MB, free: 6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2339, allocations: 71.97 kB / 421.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.2341, allocations: 156.5 kB / 421.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.2345, allocations: 204.2 kB / 421.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2345, allocations: 0 / 421.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004405/0.2349, allocations: 277 kB / 421.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2349, allocations: 8 kB / 421.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.235, allocations: 0 / 421.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.235, allocations: 7.984 kB / 421.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.2353, allocations: 75.91 kB / 421.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2354, allocations: 12.05 kB / 421.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.2355, allocations: 27.69 kB / 421.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.2356, allocations: 8 kB / 421.9 MB, free: 5.125 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.0001358/0.2357, allocations: 153.7 kB / 422.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.2358, allocations: 27.66 kB / 422.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.2358, allocations: 34.64 kB / 422.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2358, allocations: 4 kB / 422.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2358, allocations: 0 / 422.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.2359, allocations: 100.8 kB / 422.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.236, allocations: 11.94 kB / 422.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2361, allocations: 8 kB / 422.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.2362, allocations: 27.95 kB / 422.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009139/0.2371, allocations: 433.2 kB / 422.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006368/0.2378, allocations: 0.512 MB / 423.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001535/0.2379, allocations: 95.94 kB / 423.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.238, allocations: 148.6 kB / 423.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.2381, allocations: 0 / 423.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005723/0.2386, allocations: 234.5 kB / 423.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of SimCode: time 0.001369/0.24, allocations: 1.346 MB / 425.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Templates: time 0.006221/0.2462, allocations: 3.28 MB / 428.3 MB, free: 14.61 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