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.001358/0.001358, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.292/1.292, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007351/0.0007352, allocations: 85.62 kB / 272.5 MB, free: 8.289 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 16 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08793/0.2922, allocations: 81.24 MB / 458.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.2924, allocations: 79.95 kB / 458.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0247/0.3172, allocations: 9.972 MB / 468.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3172, allocations: 0 / 468.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.3172, allocations: 8 kB / 468.3 MB, free: 5.164 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.001061/0.3183, allocations: 0.6638 MB / 469 MB, free: 4.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3183, allocations: 12.03 kB / 469 MB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.3188, allocations: 84.42 kB / 469.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.3192, allocations: 312.6 kB / 469.4 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3192, allocations: 25.38 kB / 469.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.3193, allocations: 36.38 kB / 469.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.3198, allocations: 353.9 kB / 469.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3198, allocations: 8.125 kB / 469.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.3199, allocations: 19.94 kB / 469.8 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3199, allocations: 8 kB / 469.8 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.3204, allocations: 254.1 kB / 470.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.3223, allocations: 1.344 MB / 471.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.3227, allocations: 193.2 kB / 471.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.3228, allocations: 93.56 kB / 471.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/0.3236, allocations: 0.8713 MB / 472.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3236, allocations: 30.56 kB / 472.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.3236, allocations: 4 kB / 472.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005533/0.3242, allocations: 229.7 kB / 472.8 MB, free: 328 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3242, allocations: 81.11 kB / 472.9 MB, free: 228 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.3245, allocations: 286.9 kB / 473.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3246, allocations: 29.7 kB / 473.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3247, allocations: 239.4 kB / 473.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.3247, allocations: 59.11 kB / 473.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.3248, allocations: 8 kB / 473.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3249, allocations: 342.8 kB / 473.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3251, allocations: 76.55 kB / 473.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3253, allocations: 202.4 kB / 474.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.3257, allocations: 297.2 kB / 474.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3257, allocations: 0 / 474.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005019/0.3262, allocations: 324.9 kB / 474.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3262, allocations: 10.19 kB / 474.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3263, allocations: 4.562 kB / 474.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3263, allocations: 11.94 kB / 474.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.3266, allocations: 91.83 kB / 474.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3266, allocations: 7.938 kB / 474.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3268, allocations: 43.58 kB / 474.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3268, allocations: 16 kB / 474.9 MB, free: 14.06 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.0001419/0.327, allocations: 153.7 kB / 475.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.327, allocations: 31.72 kB / 475.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.3271, allocations: 29.73 kB / 475.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3271, allocations: 4 kB / 475.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3271, allocations: 3.938 kB / 475.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3271, allocations: 0 / 475.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.3277, allocations: 0.5147 MB / 475.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3278, allocations: 4.031 kB / 475.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.328, allocations: 39.98 kB / 475.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.328, allocations: 3.938 kB / 475.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.328, allocations: 12.3 kB / 475.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.328, allocations: 4 kB / 475.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.328, allocations: 4 kB / 475.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.3285, allocations: 427.3 kB / 476.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.3286, allocations: 96.83 kB / 476.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3287, allocations: 7.938 kB / 476.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3289, allocations: 24.05 kB / 476.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3289, allocations: 7.984 kB / 476.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3289, allocations: 7.984 kB / 476.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.3291, allocations: 198 kB / 476.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3291, allocations: 0 / 476.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004025/0.3295, allocations: 87.69 kB / 476.6 MB, free: 12.32 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.0001544/0.3297, allocations: 119.1 kB / 476.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.33, allocations: 195.8 kB / 476.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3301, allocations: 1.125 kB / 476.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3302, allocations: 79.91 kB / 476.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3306, allocations: 40.75 kB / 477 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3317, allocations: 0.8141 MB / 477.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.332, allocations: 0.7716 MB / 478.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.3322, allocations: 30.97 kB / 478.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.3323, allocations: 27.42 kB / 478.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3323, allocations: 0 / 478.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.005172/0.3374, allocations: 2.24 MB / 480.9 MB, free: 7.965 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/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_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches