Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 118.6 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 207.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 227.7 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 68.08 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2317, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004588/0.2363, allocations: 3.298 MB / 413.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.2385, allocations: 1.413 MB / 414.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2387, allocations: 11.94 kB / 414.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.2391, allocations: 147.1 kB / 415.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009569/0.24, allocations: 429.7 kB / 415.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.2404, allocations: 179.5 kB / 415.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.241, allocations: 462 kB / 416.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.2412, allocations: 112.2 kB / 416.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2414, allocations: 167.4 kB / 416.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.2417, allocations: 207.1 kB / 416.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.2418, allocations: 36 kB / 416.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.2421, allocations: 167.9 kB / 416.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.2422, allocations: 95.61 kB / 416.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2424, allocations: 191 kB / 417.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.2431, allocations: 0.5484 MB / 417.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2431, allocations: 0 / 417.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2431, allocations: 3.938 kB / 417.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.2431, allocations: 0 / 417.6 MB, free: 9.992 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.001508/0.2446, allocations: 0.7598 MB / 418.4 MB, free: 9.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2446, allocations: 8.031 kB / 418.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.2454, allocations: 116.6 kB / 418.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.2459, allocations: 313.8 kB / 418.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2459, allocations: 29.38 kB / 418.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.246, allocations: 36.38 kB / 418.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.2466, allocations: 357.6 kB / 419.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2466, allocations: 0 / 419.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.2466, allocations: 16 kB / 419.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.2466, allocations: 8 kB / 419.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.2472, allocations: 246.1 kB / 419.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.2493, allocations: 1.316 MB / 420.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.2497, allocations: 193.1 kB / 421 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2498, allocations: 73.69 kB / 421.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.2509, allocations: 1.204 MB / 422.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.251, allocations: 38.56 kB / 422.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.251, allocations: 0 / 422.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005663/0.2515, allocations: 225.5 kB / 422.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.2516, allocations: 81.05 kB / 422.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.2519, allocations: 291 kB / 422.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.2519, allocations: 29.7 kB / 422.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.2521, allocations: 244 kB / 423.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.2522, allocations: 59.48 kB / 423.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.2523, allocations: 65.97 kB / 423.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2524, allocations: 342.8 kB / 423.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.2526, allocations: 64.62 kB / 423.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.2528, allocations: 202.4 kB / 423.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.2533, allocations: 295.5 kB / 424.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2533, allocations: 4 kB / 424.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005562/0.2538, allocations: 313.5 kB / 424.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2538, allocations: 16.05 kB / 424.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.2538, allocations: 4 kB / 424.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2539, allocations: 7.938 kB / 424.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.2541, allocations: 79.84 kB / 424.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2542, allocations: 11.92 kB / 424.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.2544, allocations: 35.78 kB / 424.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.2544, allocations: 16 kB / 424.6 MB, free: 2.367 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.0001583/0.2545, allocations: 157.7 kB / 424.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.2546, allocations: 27.81 kB / 424.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.2547, allocations: 29.78 kB / 424.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2547, allocations: 11.88 kB / 424.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2547, allocations: 0 / 424.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.2547, allocations: 3.984 kB / 424.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.2554, allocations: 0.5069 MB / 425.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2554, allocations: 4.031 kB / 425.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.2556, allocations: 56.16 kB / 425.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2557, allocations: 0 / 425.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2557, allocations: 0 / 425.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2557, allocations: 8 kB / 425.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2557, allocations: 0 / 425.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.2562, allocations: 430.5 kB / 425.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.2563, allocations: 108.9 kB / 426 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2564, allocations: 4 kB / 426 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2566, allocations: 11.98 kB / 426 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.2566, allocations: 15.98 kB / 426 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2566, allocations: 4 kB / 426 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.2568, allocations: 202 kB / 426.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2568, allocations: 0 / 426.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.2573, allocations: 87.78 kB / 426.3 MB, free: 0.6211 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.2574, allocations: 111.2 kB / 426.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.2578, allocations: 179.6 kB / 426.6 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2578, allocations: 0 / 426.6 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.258, allocations: 69.03 kB / 426.6 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.2584, allocations: 41.52 kB / 426.7 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2596, allocations: 0.653 MB / 427.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2599, allocations: 0.7791 MB / 428.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2601, allocations: 38.95 kB / 428.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.2601, allocations: 23.44 kB / 428.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2601, allocations: 0 / 428.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Templates: time 0.006414/0.2665, allocations: 2.434 MB / 430.6 MB, free: 12.28 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches