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.0007672/0.0007672, allocations: 94.14 kB / 17.3 MB, free: 6.391 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.0007948/0.0007949, allocations: 172 kB / 18.2 MB, free: 5.551 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.331/1.331, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004251/0.0004253, allocations: 15.94 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08158/0.08202, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003095/0.08515, allocations: 2.884 MB / 331.8 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.08729, allocations: 1.321 MB / 333.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.08746, allocations: 4 kB / 333.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.08783, allocations: 123.4 kB / 333.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.08861, allocations: 326.4 kB / 333.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004582/0.08908, allocations: 231.4 kB / 333.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.08959, allocations: 430.1 kB / 334.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.08981, allocations: 124.7 kB / 334.4 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.09, allocations: 143.3 kB / 334.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.09026, allocations: 179.2 kB / 334.7 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.09031, allocations: 20 kB / 334.7 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.09064, allocations: 135.8 kB / 334.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.09072, allocations: 71.62 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.09091, allocations: 196.8 kB / 335.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005772/0.09149, allocations: 0.5062 MB / 335.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.0915, allocations: 0 / 335.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.09152, allocations: 0 / 335.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.09153, allocations: 3.938 kB / 335.6 MB, free: 13.06 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.001464/0.093, allocations: 0.6864 MB / 336.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.09305, allocations: 12.03 kB / 336.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.09365, allocations: 96.42 kB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.09408, allocations: 308.5 kB / 336.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.09412, allocations: 25.38 kB / 336.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.09418, allocations: 32.38 kB / 336.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.0948, allocations: 357.6 kB / 337.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.09482, allocations: 4 kB / 337.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.09486, allocations: 12 kB / 337.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.09487, allocations: 8 kB / 337.1 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.09535, allocations: 262.1 kB / 337.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.09732, allocations: 1.331 MB / 338.7 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.09773, allocations: 200.8 kB / 338.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.09792, allocations: 101.6 kB / 339 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/0.09875, allocations: 0.8752 MB / 339.9 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.09878, allocations: 30.56 kB / 339.9 MB, free: 8.414 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 3.206e-06/0.09879, allocations: 4.109 kB / 339.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005441/0.09934, allocations: 229.2 kB / 340.2 MB, free: 8.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.09939, allocations: 85.05 kB / 340.2 MB, free: 8.078 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.09967, allocations: 286.9 kB / 340.5 MB, free: 7.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.0997, allocations: 33.7 kB / 340.6 MB, free: 7.754 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.09984, allocations: 235.5 kB / 340.8 MB, free: 7.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.09991, allocations: 67.09 kB / 340.8 MB, free: 7.453 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.09996, allocations: 29.7 kB / 340.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1001, allocations: 338.8 kB / 341.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1002, allocations: 72.56 kB / 341.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1005, allocations: 206.4 kB / 341.5 MB, free: 6.742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.1009, allocations: 300.8 kB / 341.8 MB, free: 6.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1009, allocations: 8 kB / 341.8 MB, free: 6.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005116/0.1014, allocations: 317.3 kB / 342.1 MB, free: 6.062 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1014, allocations: 8 kB / 342.1 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1015, allocations: 4 kB / 342.1 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1015, allocations: 8 kB / 342.1 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1018, allocations: 91.77 kB / 342.2 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1018, allocations: 4 kB / 342.2 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.102, allocations: 47.7 kB / 342.2 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.102, allocations: 16 kB / 342.3 MB, free: 5.887 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.0001348/0.1022, allocations: 153.7 kB / 342.4 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.1022, allocations: 23.72 kB / 342.4 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.1023, allocations: 29.73 kB / 342.5 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1023, allocations: 3.938 kB / 342.5 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1023, allocations: 0 / 342.5 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1023, allocations: 0 / 342.5 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.1029, allocations: 0.5225 MB / 343 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.103, allocations: 0 / 343 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.1032, allocations: 47.91 kB / 343 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.1032, allocations: 4 kB / 343 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1032, allocations: 8.031 kB / 343.1 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1032, allocations: 4 kB / 343.1 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1032, allocations: 0 / 343.1 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.1038, allocations: 427.2 kB / 343.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.1038, allocations: 113 kB / 343.6 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.1039, allocations: 0 / 343.6 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1041, allocations: 23.98 kB / 343.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.1042, allocations: 16.03 kB / 343.6 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1042, allocations: 8 kB / 343.6 MB, free: 4.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1044, allocations: 198 kB / 343.8 MB, free: 4.215 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1044, allocations: 0 / 343.8 MB, free: 4.215 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.1048, allocations: 83.69 kB / 343.9 MB, free: 4.133 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.0001518/0.105, allocations: 115.2 kB / 344 MB, free: 4.012 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.1054, allocations: 188.7 kB / 344.2 MB, free: 3.828 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1054, allocations: 4.188 kB / 344.2 MB, free: 3.824 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1055, allocations: 79.84 kB / 344.3 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.106, allocations: 36.75 kB / 344.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.107, allocations: 0.8488 MB / 345.2 MB, free: 2.832 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1073, allocations: 0.7718 MB / 345.9 MB, free: 2.035 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1075, allocations: 34.95 kB / 346 MB, free: 2 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.1075, allocations: 27.38 kB / 346 MB, free: 1.973 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1075, allocations: 0 / 346 MB, free: 1.973 MB / 286.1 MB Notification: Performance of Templates: time 0.005416/0.113, allocations: 2.163 MB / 348.2 MB, free: 15.81 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches