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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008422/0.0008419, allocations: 97.62 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002563, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2631, allocations: 47.58 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3649, allocations: 81.17 MB / 457 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.3652, allocations: 79.95 kB / 457.1 MB, free: 15.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02556/0.3908, allocations: 9.976 MB / 467 MB, free: 5.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.3908, allocations: 3.938 kB / 467 MB, free: 5.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.3908, allocations: 8 kB / 467.1 MB, free: 5.324 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.001241/0.3921, allocations: 0.6679 MB / 467.7 MB, free: 4.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3921, allocations: 12.03 kB / 467.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.3926, allocations: 83.48 kB / 467.8 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.3931, allocations: 315.1 kB / 468.1 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3931, allocations: 29 kB / 468.2 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.3932, allocations: 36 kB / 468.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.3937, allocations: 345.3 kB / 468.5 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3938, allocations: 4 kB / 468.5 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.3938, allocations: 12 kB / 468.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3938, allocations: 8 kB / 468.5 MB, free: 3.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000471/0.3943, allocations: 262.1 kB / 468.8 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.3963, allocations: 1.34 MB / 470.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.3967, allocations: 193.7 kB / 470.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/0.3975, allocations: 0.8752 MB / 471.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3975, allocations: 38.55 kB / 471.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.3975, allocations: 3.938 kB / 471.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005411/0.3981, allocations: 231.3 kB / 471.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.3981, allocations: 77.11 kB / 471.6 MB, free: 492 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.3984, allocations: 258.2 kB / 471.8 MB, free: 228 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3984, allocations: 29.7 kB / 471.8 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3986, allocations: 235.6 kB / 472.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.3986, allocations: 67.09 kB / 472.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.3986, allocations: 4 kB / 472.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3988, allocations: 342.6 kB / 472.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3989, allocations: 68.62 kB / 472.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.3992, allocations: 202.4 kB / 472.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.3994, allocations: 100.9 kB / 472.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3994, allocations: 0 / 472.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005201/0.3999, allocations: 325 kB / 473.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3999, allocations: 8 kB / 473.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.3999, allocations: 4 kB / 473.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4, allocations: 8 kB / 473.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.4003, allocations: 88.25 kB / 473.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4003, allocations: 15.88 kB / 473.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.4005, allocations: 39.59 kB / 473.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4006, allocations: 16 kB / 473.3 MB, free: 14.61 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.0001492/0.4007, allocations: 157.7 kB / 473.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.4008, allocations: 27.72 kB / 473.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.4009, allocations: 29.73 kB / 473.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4009, allocations: 4 kB / 473.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4009, allocations: 0 / 473.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4009, allocations: 7.891 kB / 473.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.4015, allocations: 0.5069 MB / 474.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4016, allocations: 0 / 474.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.4018, allocations: 51.94 kB / 474.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4018, allocations: 4 kB / 474.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4018, allocations: 4.312 kB / 474.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4018, allocations: 3.953 kB / 474.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4018, allocations: 8 kB / 474.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.4024, allocations: 457.6 kB / 474.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.4025, allocations: 104.8 kB / 474.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.4025, allocations: 4 kB / 474.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4027, allocations: 20.05 kB / 474.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.4028, allocations: 11.98 kB / 474.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4028, allocations: 8 kB / 474.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002045/0.403, allocations: 194 kB / 474.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.403, allocations: 0 / 474.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004438/0.4035, allocations: 87.72 kB / 475 MB, free: 12.83 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.0002176/0.4037, allocations: 119.2 kB / 475.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.4042, allocations: 199.6 kB / 475.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4042, allocations: 0 / 475.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.4043, allocations: 77.09 kB / 475.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.4047, allocations: 33.48 kB / 475.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.406, allocations: 0.8102 MB / 476.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.4063, allocations: 0.7833 MB / 477 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.4065, allocations: 30.97 kB / 477 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.4066, allocations: 23.44 kB / 477.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4066, allocations: 0 / 477.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.00593/0.4125, allocations: 2.23 MB / 479.3 MB, free: 8.492 MB / 362.7 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