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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=10000,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=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001884/0.001884, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002203/0.002203, allocations: 207.9 kB / 19.79 MB, free: 2.586 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.472/1.472, allocations: 230.4 MB / 251.1 MB, free: 8.504 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.002401/0.002401, allocations: 71.83 kB / 369 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2628, allocations: 53.3 MB / 422.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004652/0.2674, allocations: 3.321 MB / 425.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2696, allocations: 1.417 MB / 427 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2698, allocations: 15.94 kB / 427 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.2701, allocations: 143.1 kB / 427.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008919/0.271, allocations: 433.7 kB / 427.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.2714, allocations: 190.7 kB / 427.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005815/0.272, allocations: 458.1 kB / 428.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2722, allocations: 116.2 kB / 428.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.2724, allocations: 167.4 kB / 428.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.2727, allocations: 207.1 kB / 428.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.2727, allocations: 36 kB / 428.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.2731, allocations: 171.9 kB / 428.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.2731, allocations: 83.69 kB / 429 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.2733, allocations: 198.9 kB / 429.2 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006614/0.274, allocations: 0.5443 MB / 429.7 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.274, allocations: 0 / 429.7 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.274, allocations: 0 / 429.7 MB, free: 396 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.274, allocations: 0 / 429.7 MB, free: 396 kB / 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.00142/0.2754, allocations: 0.7598 MB / 430.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2754, allocations: 8.031 kB / 430.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007493/0.2762, allocations: 112.6 kB / 430.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.2766, allocations: 317.7 kB / 430.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.2767, allocations: 29.38 kB / 430.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.2767, allocations: 40.31 kB / 431 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.2773, allocations: 357.6 kB / 431.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2773, allocations: 0 / 431.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.2774, allocations: 12 kB / 431.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2774, allocations: 8 kB / 431.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005013/0.2779, allocations: 250.1 kB / 431.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.2799, allocations: 1.319 MB / 432.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.2803, allocations: 185.1 kB / 433.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.2805, allocations: 73.69 kB / 433.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.2816, allocations: 1.204 MB / 434.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2816, allocations: 38.56 kB / 434.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.2816, allocations: 0 / 434.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005346/0.2821, allocations: 225.9 kB / 434.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.2822, allocations: 81.05 kB / 434.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.2825, allocations: 291 kB / 435 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.2825, allocations: 29.7 kB / 435 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2827, allocations: 240 kB / 435.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.2828, allocations: 67.42 kB / 435.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.2828, allocations: 61.98 kB / 435.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.283, allocations: 350.7 kB / 435.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.2832, allocations: 64.62 kB / 435.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.2834, allocations: 198.4 kB / 436 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.2839, allocations: 300.8 kB / 436.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2839, allocations: 4 kB / 436.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005428/0.2844, allocations: 317.5 kB / 436.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2844, allocations: 8 kB / 436.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2844, allocations: 4 kB / 436.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2844, allocations: 4 kB / 436.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.2847, allocations: 83.83 kB / 436.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2847, allocations: 7.938 kB / 436.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2849, allocations: 43.7 kB / 436.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.2849, allocations: 16 kB / 436.7 MB, free: 8.75 MB / 350.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.0001547/0.2851, allocations: 153.8 kB / 436.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.2852, allocations: 27.81 kB / 436.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.2852, allocations: 29.78 kB / 436.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2852, allocations: 7.938 kB / 437 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2852, allocations: 0 / 437 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2852, allocations: 0 / 437 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.286, allocations: 0.5108 MB / 437.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.286, allocations: 4.031 kB / 437.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.2862, allocations: 51.84 kB / 437.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2862, allocations: 0 / 437.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.2862, allocations: 4 kB / 437.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2862, allocations: 4 kB / 437.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2862, allocations: 0 / 437.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.2868, allocations: 427.3 kB / 437.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.2869, allocations: 112.8 kB / 438.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.2869, allocations: 4 kB / 438.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.2871, allocations: 11.94 kB / 438.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.2872, allocations: 20.09 kB / 438.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2872, allocations: 12.06 kB / 438.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.2874, allocations: 198 kB / 438.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2874, allocations: 0 / 438.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.2878, allocations: 79.89 kB / 438.4 MB, free: 7.012 MB / 350.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.00015/0.2879, allocations: 115.2 kB / 438.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.2883, allocations: 175.8 kB / 438.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2883, allocations: 0 / 438.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.2885, allocations: 72.97 kB / 438.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.2889, allocations: 36.83 kB / 438.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.29, allocations: 0.6615 MB / 439.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.2904, allocations: 0.7714 MB / 440.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.2905, allocations: 42.94 kB / 440.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.2906, allocations: 23.44 kB / 440.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2906, allocations: 0 / 440.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of Templates: time 0.00615/0.2967, allocations: 2.455 MB / 442.7 MB, free: 2.648 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/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) [Timeout 660] Reference file matches