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.001057/0.001057, allocations: 110.8 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.00108/0.00108, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001175, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2113, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003867/0.2152, allocations: 3.306 MB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.2171, allocations: 1.409 MB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2172, allocations: 8 kB / 414.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.2176, allocations: 139.1 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008203/0.2184, allocations: 421.7 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.2188, allocations: 183.5 kB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.2193, allocations: 466 kB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.2195, allocations: 156.2 kB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.2197, allocations: 171.3 kB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.22, allocations: 203.2 kB / 416.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.22, allocations: 32 kB / 416.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.2203, allocations: 175.8 kB / 416.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.2204, allocations: 95.61 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.2205, allocations: 187.1 kB / 416.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.2211, allocations: 0.55 MB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2211, allocations: 0 / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2211, allocations: 7.938 kB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2211, 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.001299/0.2224, allocations: 0.741 MB / 418.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2225, allocations: 8.031 kB / 418.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007236/0.2232, allocations: 116.3 kB / 418.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.2236, allocations: 309.7 kB / 418.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.2236, allocations: 33.38 kB / 418.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.2237, allocations: 36.28 kB / 418.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.2242, allocations: 353.6 kB / 419 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2243, allocations: 0 / 419 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.2243, allocations: 19.94 kB / 419 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.2243, allocations: 8 kB / 419 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.2248, allocations: 250.1 kB / 419.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.2266, allocations: 1.311 MB / 420.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.227, allocations: 201.1 kB / 420.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.2272, allocations: 89.61 kB / 420.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/0.2281, allocations: 1.192 MB / 422 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2281, allocations: 34.56 kB / 422.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.2281, allocations: 0 / 422.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005005/0.2286, allocations: 225.6 kB / 422.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2286, allocations: 81.05 kB / 422.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.2289, allocations: 286.9 kB / 422.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2289, allocations: 29.7 kB / 422.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.2291, allocations: 243.5 kB / 422.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2291, allocations: 55.17 kB / 423 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.2292, allocations: 69.92 kB / 423 MB, free: 3.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.2293, allocations: 338.8 kB / 423.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.2295, allocations: 68.56 kB / 423.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.2297, allocations: 198.4 kB / 423.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.2301, allocations: 284.9 kB / 423.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2301, allocations: 4 kB / 423.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004969/0.2306, allocations: 321.4 kB / 424.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2306, allocations: 8.031 kB / 424.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2306, allocations: 8 kB / 424.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2307, allocations: 7.938 kB / 424.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.2309, allocations: 79.84 kB / 424.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.231, allocations: 11.92 kB / 424.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2312, allocations: 43.53 kB / 424.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2312, allocations: 16 kB / 424.4 MB, free: 2.496 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.0001271/0.2313, allocations: 157.7 kB / 424.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.2314, allocations: 27.7 kB / 424.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.2315, allocations: 25.8 kB / 424.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2315, allocations: 3.984 kB / 424.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2315, allocations: 3.938 kB / 424.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.2315, allocations: 104.8 kB / 424.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.2316, allocations: 4 kB / 424.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.2318, allocations: 15.98 kB / 424.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.2319, allocations: 11.98 kB / 424.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005153/0.2324, allocations: 348 kB / 425.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005164/0.2329, allocations: 493.8 kB / 425.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001252/0.2331, allocations: 67.98 kB / 425.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.2332, allocations: 202 kB / 425.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of Backend: time 3.4e-07/0.2333, allocations: 7.875 kB / 425.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007595/0.234, allocations: 293.5 kB / 426.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of SimCode: time 0.001021/0.235, allocations: 1.079 MB / 427.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Templates: time 0.007131/0.2422, allocations: 3.774 MB / 431 MB, free: 11.84 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