Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001092/0.001092, allocations: 108.9 kB / 17.06 MB, free: 6.141 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.00115/0.00115, allocations: 192 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2428, allocations: 49.44 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004578/0.2474, allocations: 3.278 MB / 404 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.2497, allocations: 1.296 MB / 405.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.25, allocations: 8 kB / 405.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.2505, allocations: 151.1 kB / 405.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2517, allocations: 461.5 kB / 405.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.2521, allocations: 159.6 kB / 406.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006325/0.2527, allocations: 454 kB / 406.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.253, allocations: 140.2 kB / 406.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.2532, allocations: 175.3 kB / 406.8 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.2535, allocations: 195.2 kB / 407 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.2536, allocations: 36 kB / 407 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.2539, allocations: 163.8 kB / 407.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.254, allocations: 83.73 kB / 407.3 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.2542, allocations: 187 kB / 407.5 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006559/0.2548, allocations: 0.5422 MB / 408 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2549, allocations: 0 / 408 MB, free: 1.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2549, allocations: 4 kB / 408 MB, free: 1.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.2549, allocations: 4 kB / 408 MB, free: 1.574 MB / 318.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.001404/0.2563, allocations: 0.7254 MB / 408.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2563, allocations: 19.81 kB / 408.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000626/0.257, allocations: 96.42 kB / 408.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2574, allocations: 304.5 kB / 409.1 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2574, allocations: 33.31 kB / 409.2 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.2575, allocations: 32.38 kB / 409.2 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.2581, allocations: 357.6 kB / 409.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2582, allocations: 0 / 409.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2582, allocations: 20 kB / 409.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2582, allocations: 8 kB / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.2587, allocations: 250.1 kB / 409.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.2607, allocations: 1.3 MB / 411.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.261, allocations: 197.1 kB / 411.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2612, allocations: 89.72 kB / 411.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007934/0.262, allocations: 0.8713 MB / 412.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.262, allocations: 42.56 kB / 412.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.2621, allocations: 0 / 412.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000519/0.2626, allocations: 213.2 kB / 412.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2626, allocations: 85.03 kB / 412.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.2629, allocations: 283 kB / 412.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.263, allocations: 29.7 kB / 412.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.2631, allocations: 243.4 kB / 413.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.522e-05/0.2632, allocations: 63.09 kB / 413.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.2633, allocations: 57.94 kB / 413.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2634, allocations: 338.8 kB / 413.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2636, allocations: 68.61 kB / 413.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2638, allocations: 206.3 kB / 413.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.2643, allocations: 300.9 kB / 414.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2643, allocations: 0 / 414.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005341/0.2648, allocations: 316.7 kB / 414.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2648, allocations: 8 kB / 414.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2648, allocations: 4 kB / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2649, allocations: 4.25 kB / 414.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.2652, allocations: 87.77 kB / 414.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.2652, allocations: 12.06 kB / 414.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2654, allocations: 43.88 kB / 414.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.2654, allocations: 16 kB / 414.7 MB, free: 10.39 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.0001447/0.2656, allocations: 161.6 kB / 414.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.2657, allocations: 27.7 kB / 414.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.173e-05/0.2657, allocations: 29.73 kB / 414.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2657, allocations: 7.938 kB / 414.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2657, allocations: 0 / 414.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.2658, allocations: 0 / 414.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.2664, allocations: 0.5108 MB / 415.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2664, allocations: 3.938 kB / 415.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2666, allocations: 43.91 kB / 415.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2667, allocations: 7.938 kB / 415.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2667, allocations: 4 kB / 415.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2667, allocations: 4 kB / 415.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2667, allocations: 3.984 kB / 415.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.2672, allocations: 411.2 kB / 415.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.2673, allocations: 112.7 kB / 416 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.2674, allocations: 4 kB / 416 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.2676, allocations: 20.05 kB / 416 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2676, allocations: 11.98 kB / 416 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2676, allocations: 4 kB / 416 MB, free: 8.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.2678, allocations: 198 kB / 416.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2678, allocations: 0 / 416.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.2683, allocations: 79.78 kB / 416.3 MB, free: 8.668 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.0001626/0.2684, allocations: 119.2 kB / 416.4 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.2688, allocations: 188.4 kB / 416.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2688, allocations: 384 / 416.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.269, allocations: 75.84 kB / 416.6 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.2694, allocations: 37 kB / 416.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2705, allocations: 0.6469 MB / 417.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.2708, allocations: 0.779 MB / 418.1 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.271, allocations: 30.97 kB / 418.1 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.271, allocations: 23.44 kB / 418.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.271, allocations: 0 / 418.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of Templates: time 0.005694/0.2767, allocations: 2.386 MB / 420.5 MB, free: 4.352 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches