Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.0017, allocations: 180.9 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.931/2.931, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001109, allocations: 94.3 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006289/0.0006291, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4326, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5963, allocations: 81.23 MB / 457 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004589/0.5969, allocations: 83.95 kB / 457 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0404/0.6373, allocations: 9.964 MB / 467 MB, free: 5.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.001e-06/0.6374, allocations: 0 / 467 MB, free: 5.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.6374, allocations: 12 kB / 467 MB, free: 5.219 MB / 346.7 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.00225/0.6397, allocations: 0.6681 MB / 467.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.564e-05/0.6398, allocations: 8.031 kB / 467.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007677/0.6406, allocations: 88.42 kB / 467.8 MB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.6414, allocations: 312.6 kB / 468.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.6415, allocations: 29.38 kB / 468.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.481e-05/0.6416, allocations: 36.31 kB / 468.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.6426, allocations: 349.9 kB / 468.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.6427, allocations: 8.188 kB / 468.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.6428, allocations: 19.92 kB / 468.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.6428, allocations: 8 kB / 468.5 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007847/0.6436, allocations: 258.1 kB / 468.8 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.6469, allocations: 1.332 MB / 470.1 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.6476, allocations: 197.2 kB / 470.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.6479, allocations: 93.56 kB / 470.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.6493, allocations: 0.8713 MB / 471.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.6494, allocations: 34.56 kB / 471.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.757e-06/0.6494, allocations: 0 / 471.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009189/0.6503, allocations: 233.3 kB / 471.5 MB, free: 380 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.6504, allocations: 77.11 kB / 471.6 MB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.6511, allocations: 287 kB / 471.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.6511, allocations: 33.7 kB / 471.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.6515, allocations: 235.4 kB / 472.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.6516, allocations: 63.11 kB / 472.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.6516, allocations: 4 kB / 472.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003835/0.652, allocations: 342.8 kB / 472.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.6523, allocations: 76.56 kB / 472.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.6527, allocations: 202.4 kB / 472.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.6534, allocations: 293.9 kB / 473.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6534, allocations: 4 kB / 473.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009084/0.6544, allocations: 317 kB / 473.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.6544, allocations: 15.88 kB / 473.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.6544, allocations: 4 kB / 473.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.6545, allocations: 4 kB / 473.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.655, allocations: 92.3 kB / 473.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/0.655, allocations: 16.25 kB / 473.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.6554, allocations: 43.58 kB / 473.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.6554, allocations: 16 kB / 473.6 MB, free: 14.11 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003252/0.6558, allocations: 157.7 kB / 473.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.6559, allocations: 23.72 kB / 473.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.64e-05/0.656, allocations: 29.73 kB / 473.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.656, allocations: 8 kB / 473.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.656, allocations: 3.938 kB / 473.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6561, allocations: 0 / 473.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.6574, allocations: 0.5146 MB / 474.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6574, allocations: 4 kB / 474.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.6578, allocations: 52 kB / 474.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.6578, allocations: 3.938 kB / 474.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.6578, allocations: 0 / 474.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.6579, allocations: 4 kB / 474.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6579, allocations: 0 / 474.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.6588, allocations: 431.2 kB / 474.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.659, allocations: 96.86 kB / 474.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.107e-05/0.659, allocations: 11.92 kB / 474.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.6594, allocations: 16.06 kB / 474.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.6595, allocations: 19.97 kB / 475 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.6595, allocations: 4 kB / 475 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.6598, allocations: 198 kB / 475.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6599, allocations: 0 / 475.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008061/0.6607, allocations: 83.69 kB / 475.2 MB, free: 12.37 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003907/0.6611, allocations: 127.2 kB / 475.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006572/0.6617, allocations: 195.1 kB / 475.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6618, allocations: 0 / 475.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.662, allocations: 77.41 kB / 475.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.6628, allocations: 36.48 kB / 475.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.665, allocations: 0.8472 MB / 476.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.6656, allocations: 0.7677 MB / 477.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.6657, allocations: 39.42 kB / 477.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6657, allocations: 0 / 477.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.00939/0.6751, allocations: 3.425 MB / 480.8 MB, free: 6.805 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches