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.002174/0.002178, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.149/2.149, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001107/0.001107, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.995e-05, allocations: 0 / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.09984, allocations: 47.56 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.516, allocations: 81.08 MB / 450.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.5164, allocations: 82.31 kB / 450.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04564/0.5621, allocations: 9.954 MB / 460.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5621, allocations: 192 / 460.2 MB, free: 3.898 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.101e-05/0.5622, allocations: 8 kB / 460.2 MB, free: 3.891 MB / 330.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.002359/0.5646, allocations: 0.6388 MB / 460.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5647, allocations: 8.031 kB / 460.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5659, allocations: 84.23 kB / 460.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.5668, allocations: 309.4 kB / 461.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.5669, allocations: 26.22 kB / 461.3 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.567, allocations: 34.06 kB / 461.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.5683, allocations: 339 kB / 461.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.5684, allocations: 0 / 461.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.5685, allocations: 12 kB / 461.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.5685, allocations: 8 kB / 461.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.5696, allocations: 218.2 kB / 461.9 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.575, allocations: 1.384 MB / 463.2 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.5759, allocations: 165.2 kB / 463.4 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.5762, allocations: 85.8 kB / 463.5 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/0.5781, allocations: 0.871 MB / 464.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.74e-05/0.5782, allocations: 38.56 kB / 464.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.928e-06/0.5782, allocations: 0 / 464.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006953/0.5789, allocations: 133.3 kB / 464.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.579, allocations: 81.11 kB / 464.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.5797, allocations: 255.3 kB / 464.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.5798, allocations: 25.7 kB / 464.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.5801, allocations: 297.5 kB / 465.2 MB, free: 14.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-05/0.5802, allocations: 51.34 kB / 465.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.5803, allocations: 4 kB / 465.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5805, allocations: 326.8 kB / 465.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.5808, allocations: 55.92 kB / 465.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.5812, allocations: 181.2 kB / 465.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.5816, allocations: 80.06 kB / 465.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.5817, allocations: 4 kB / 465.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001094/0.5828, allocations: 253 kB / 466.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.5828, allocations: 8.562 kB / 466.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5829, allocations: 8 kB / 466.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/0.5829, allocations: 11.95 kB / 466.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.5836, allocations: 75.83 kB / 466.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.5836, allocations: 8 kB / 466.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.584, allocations: 35.69 kB / 466.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.584, allocations: 19.98 kB / 466.3 MB, free: 13.48 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001291/0.5842, allocations: 128.8 kB / 466.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.5843, allocations: 23.72 kB / 466.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/0.5844, allocations: 29.86 kB / 466.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.5844, allocations: 3.953 kB / 466.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5844, allocations: 0 / 466.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5844, allocations: 4 kB / 466.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009508/0.5854, allocations: 495 kB / 466.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5854, allocations: 0 / 466.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.5858, allocations: 44.02 kB / 467 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.5858, allocations: 11.94 kB / 467 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.5858, allocations: 0 / 467 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5858, allocations: 0 / 467 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5859, allocations: 4 kB / 467 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.5864, allocations: 387.9 kB / 467.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5866, allocations: 100.7 kB / 467.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.5866, allocations: 8 kB / 467.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.587, allocations: 15.98 kB / 467.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.5871, allocations: 16.17 kB / 467.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.5871, allocations: 8 kB / 467.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003028/0.5874, allocations: 187.1 kB / 467.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5874, allocations: 0 / 467.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006155/0.588, allocations: 87.69 kB / 467.8 MB, free: 11.84 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0002557/0.5883, allocations: 135.8 kB / 467.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004235/0.5888, allocations: 148.7 kB / 468.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5888, allocations: 4 kB / 468.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5889, allocations: 52.12 kB / 468.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.5893, allocations: 29.69 kB / 468.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5907, allocations: 486.6 kB / 468.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.5911, allocations: 0.7794 MB / 469.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5913, allocations: 23.44 kB / 469.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5913, allocations: 0 / 469.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Templates: time 0.008667/0.6, allocations: 3.326 MB / 472.8 MB, free: 6.805 MB / 346.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