Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 104.4 kB / 18.35 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 51.92 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07594/0.07712, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004208/0.08136, allocations: 3.247 MB / 332 MB, free: 476 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.08318, allocations: 1.332 MB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.08334, allocations: 8 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.08371, allocations: 143 kB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00079/0.08451, allocations: 365.9 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.08498, allocations: 255.1 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004876/0.08547, allocations: 446.1 kB / 334.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.08571, allocations: 144.2 kB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.08588, allocations: 171.3 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.08614, allocations: 203.1 kB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.08619, allocations: 36 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.08647, allocations: 167.8 kB / 335.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.08654, allocations: 79.69 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.08671, allocations: 187.1 kB / 335.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.08725, allocations: 0.5372 MB / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.08726, allocations: 0 / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08727, allocations: 0 / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.08728, allocations: 0 / 336 MB, free: 12.42 MB / 286.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.001318/0.0886, allocations: 0.737 MB / 336.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.08864, allocations: 12.03 kB / 336.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/0.08925, allocations: 96.41 kB / 336.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.08967, allocations: 312.4 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.0897, allocations: 25.38 kB / 337.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.08976, allocations: 40.38 kB / 337.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.09033, allocations: 357.6 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.09035, allocations: 0 / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.09039, allocations: 16 kB / 337.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.0904, allocations: 8 kB / 337.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.09087, allocations: 250.1 kB / 337.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.09279, allocations: 1.315 MB / 339.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.09316, allocations: 189.1 kB / 339.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.09332, allocations: 89.69 kB / 339.4 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007525/0.09409, allocations: 0.8792 MB / 340.3 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.09412, allocations: 34.56 kB / 340.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.09413, allocations: 0 / 340.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.000508/0.09464, allocations: 213.2 kB / 340.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.0947, allocations: 92.98 kB / 340.6 MB, free: 7.422 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.09497, allocations: 282.9 kB / 340.9 MB, free: 7.141 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.095, allocations: 33.64 kB / 340.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.09514, allocations: 239.5 kB / 341.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.09519, allocations: 59.11 kB / 341.2 MB, free: 6.805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.09528, allocations: 62.02 kB / 341.3 MB, free: 6.734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.0954, allocations: 338.8 kB / 341.6 MB, free: 6.395 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.09556, allocations: 68.62 kB / 341.7 MB, free: 6.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.09578, allocations: 198.4 kB / 341.9 MB, free: 6.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.09617, allocations: 300.8 kB / 342.2 MB, free: 5.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.09619, allocations: 4 kB / 342.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005242/0.09672, allocations: 316.8 kB / 342.5 MB, free: 5.398 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.09674, allocations: 4.562 kB / 342.5 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.09675, allocations: 8 kB / 342.5 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.09677, allocations: 8 kB / 342.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.09706, allocations: 83.78 kB / 342.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.09708, allocations: 11.92 kB / 342.6 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.09728, allocations: 31.69 kB / 342.6 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.09731, allocations: 20 kB / 342.7 MB, free: 5.234 MB / 286.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.0001333/0.09745, allocations: 153.7 kB / 342.8 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.09752, allocations: 27.7 kB / 342.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.09759, allocations: 29.75 kB / 342.9 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.0976, allocations: 3.938 kB / 342.9 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.09761, allocations: 7.984 kB / 342.9 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.09762, allocations: 0 / 342.9 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.09826, allocations: 0.5032 MB / 343.4 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.09828, allocations: 8.062 kB / 343.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.0985, allocations: 47.94 kB / 343.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.09851, allocations: 0 / 343.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.09854, allocations: 8 kB / 343.4 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.09855, allocations: 0 / 343.4 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.09855, allocations: 11.88 kB / 343.5 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.09906, allocations: 415.1 kB / 343.9 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.09914, allocations: 112.7 kB / 344 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.09918, allocations: 0 / 344 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.09941, allocations: 19.98 kB / 344 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.09946, allocations: 15.97 kB / 344 MB, free: 3.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.09948, allocations: 4 kB / 344 MB, free: 3.773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.09966, allocations: 194 kB / 344.2 MB, free: 3.582 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09966, allocations: 4.062 kB / 344.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.1001, allocations: 83.75 kB / 344.3 MB, free: 3.496 MB / 286.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.0001276/0.1002, allocations: 111.2 kB / 344.4 MB, free: 3.379 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.1006, allocations: 198.8 kB / 344.6 MB, free: 3.188 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1006, allocations: 0 / 344.6 MB, free: 3.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1008, allocations: 67.91 kB / 344.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1011, allocations: 33.95 kB / 344.7 MB, free: 3.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009676/0.1021, allocations: 0.6353 MB / 345.3 MB, free: 2.426 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1024, allocations: 0.7716 MB / 346.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.1026, allocations: 42.88 kB / 346.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.1026, allocations: 23.44 kB / 346.2 MB, free: 1.562 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1026, allocations: 3.938 kB / 346.2 MB, free: 1.559 MB / 286.1 MB Notification: Performance of Templates: time 0.005301/0.1079, allocations: 2.326 MB / 348.5 MB, free: 15.24 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches