Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001172, allocations: 114.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 210.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.217, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003913/0.2209, allocations: 3.309 MB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.2228, allocations: 1.401 MB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.223, allocations: 8 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.2233, allocations: 147 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.2242, allocations: 429.7 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.2245, allocations: 175.6 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005658/0.2251, allocations: 470 kB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.2253, allocations: 152.2 kB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2255, allocations: 171.3 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.2258, allocations: 207.1 kB / 416.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.2259, allocations: 36 kB / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.2262, allocations: 171.9 kB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.2262, allocations: 91.61 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.2264, allocations: 191 kB / 416.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.227, allocations: 0.5484 MB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.227, allocations: 0 / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.227, allocations: 0 / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.227, allocations: 0 / 417.4 MB, free: 10.11 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001284/0.2283, allocations: 0.7598 MB / 418.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2283, allocations: 8.031 kB / 418.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.2291, allocations: 116.6 kB / 418.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.2295, allocations: 317.8 kB / 418.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.2296, allocations: 29.38 kB / 418.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.2296, allocations: 32.38 kB / 418.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.2302, allocations: 357.6 kB / 419 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2302, allocations: 0 / 419 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.2302, allocations: 16 kB / 419 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2303, allocations: 12 kB / 419 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.2307, allocations: 250.1 kB / 419.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2326, allocations: 1.312 MB / 420.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.233, allocations: 204.6 kB / 420.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2332, allocations: 85.69 kB / 420.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008716/0.234, allocations: 1.192 MB / 422 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.2341, allocations: 42.5 kB / 422.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.2341, allocations: 0 / 422.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005172/0.2346, allocations: 221.7 kB / 422.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2347, allocations: 84.98 kB / 422.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.2349, allocations: 287 kB / 422.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.235, allocations: 33.7 kB / 422.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.2351, allocations: 248 kB / 422.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.2351, allocations: 63.48 kB / 423 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.2352, allocations: 69.97 kB / 423.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.2353, allocations: 330.8 kB / 423.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.2355, allocations: 68.62 kB / 423.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.2357, allocations: 200.7 kB / 423.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.2361, allocations: 292.8 kB / 423.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2361, allocations: 4 kB / 423.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005067/0.2366, allocations: 317.4 kB / 424.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2367, allocations: 10.95 kB / 424.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2367, allocations: 4 kB / 424.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2367, allocations: 11.94 kB / 424.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.237, allocations: 75.84 kB / 424.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.237, allocations: 15.92 kB / 424.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.2372, allocations: 36 kB / 424.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2372, allocations: 20 kB / 424.4 MB, free: 2.461 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001321/0.2374, allocations: 157.7 kB / 424.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.2374, allocations: 27.81 kB / 424.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.2375, allocations: 29.78 kB / 424.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2375, allocations: 3.984 kB / 424.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2375, allocations: 3.938 kB / 424.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.2376, allocations: 108.9 kB / 424.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2376, allocations: 0 / 424.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2379, allocations: 23.98 kB / 424.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.2379, allocations: 7.984 kB / 424.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000515/0.2384, allocations: 340.5 kB / 425.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005258/0.239, allocations: 0.4976 MB / 425.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001299/0.2391, allocations: 63.98 kB / 425.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.2393, allocations: 202 kB / 425.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of Backend: time 2.91e-07/0.2393, allocations: 0 / 425.9 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.2401, allocations: 293.5 kB / 426.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of SimCode: time 0.001071/0.2412, allocations: 1.094 MB / 427.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Templates: time 0.007313/0.2485, allocations: 3.767 MB / 431 MB, free: 11.79 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches