Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007582/0.0007583, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008661/0.0008661, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.7 MB / 246.8 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002114/0.0002115, allocations: 8 kB / 307.8 MB, free: 0.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08525/0.08548, allocations: 51.52 MB / 359.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003178/0.0887, allocations: 2.952 MB / 362.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.09087, allocations: 1.374 MB / 363.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.09112, allocations: 11.94 kB / 363.7 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.09152, allocations: 123.4 kB / 363.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000927/0.09246, allocations: 382.3 kB / 364.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.09285, allocations: 155.6 kB / 364.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000608/0.09347, allocations: 446.1 kB / 364.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.09368, allocations: 129 kB / 364.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.09392, allocations: 159.3 kB / 365.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.09417, allocations: 183.1 kB / 365.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.09422, allocations: 16 kB / 365.3 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.09455, allocations: 151.9 kB / 365.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.09461, allocations: 63.64 kB / 365.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.09484, allocations: 196.8 kB / 365.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005823/0.09543, allocations: 0.5254 MB / 366.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.09544, allocations: 0 / 366.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09545, allocations: 0 / 366.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.09547, allocations: 4 kB / 366.2 MB, free: 6.352 MB / 302.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.001261/0.09674, allocations: 0.6941 MB / 366.9 MB, free: 5.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.09678, allocations: 8.031 kB / 366.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.959e-05/0.09687, allocations: 70.72 kB / 367 MB, free: 5.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.09759, allocations: 128.3 kB / 367.1 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.09798, allocations: 309.7 kB / 367.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.09802, allocations: 21.38 kB / 367.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.09808, allocations: 40.38 kB / 367.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.09865, allocations: 353.5 kB / 367.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.09867, allocations: 0 / 367.8 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.09871, allocations: 19.98 kB / 367.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.09873, allocations: 11.94 kB / 367.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.09922, allocations: 262 kB / 368.1 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.1012, allocations: 1.327 MB / 369.4 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.1015, allocations: 201.2 kB / 369.6 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1017, allocations: 93.67 kB / 369.7 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/0.1026, allocations: 1.192 MB / 370.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1027, allocations: 34.55 kB / 370.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.1027, allocations: 0 / 370.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005207/0.1032, allocations: 237.2 kB / 371.2 MB, free: 0.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.1032, allocations: 85.05 kB / 371.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1035, allocations: 291 kB / 371.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1036, allocations: 25.7 kB / 371.5 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1037, allocations: 243.4 kB / 371.8 MB, free: 300 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.1037, allocations: 63.11 kB / 371.8 MB, free: 236 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1038, allocations: 33.7 kB / 371.9 MB, free: 196 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1439/0.2477, allocations: 335.6 kB / 372.2 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.248, allocations: 68.19 kB / 372.3 MB, free: 19.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.2483, allocations: 204.3 kB / 372.5 MB, free: 18.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.2487, allocations: 304.5 kB / 372.8 MB, free: 18.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2487, allocations: 4.094 kB / 372.8 MB, free: 18.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005822/0.2493, allocations: 317.6 kB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2493, allocations: 11.12 kB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2494, allocations: 3.594 kB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.2494, allocations: 8 kB / 373.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.2499, allocations: 81.56 kB / 373.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.2499, allocations: 14.64 kB / 373.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.2502, allocations: 36.67 kB / 373.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.2503, allocations: 20.73 kB / 373.3 MB, free: 18.67 MB / 302.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.000221/0.2505, allocations: 156.4 kB / 373.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2506, allocations: 27.09 kB / 373.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.2507, allocations: 28.88 kB / 373.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2508, allocations: 2.703 kB / 373.5 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2508, allocations: 5.062 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2508, allocations: 1.672 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.2519, allocations: 0.5165 MB / 374 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2519, allocations: 2.969 kB / 374 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.2523, allocations: 50.61 kB / 374 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.2523, allocations: 5.625 kB / 374 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2523, allocations: 6.734 kB / 374.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.2523, allocations: 5.531 kB / 374.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2523, allocations: 1.5 kB / 374.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.2532, allocations: 431.3 kB / 374.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.2533, allocations: 108.3 kB / 374.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.2533, allocations: 4.562 kB / 374.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.2537, allocations: 23.19 kB / 374.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.2538, allocations: 10.06 kB / 374.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.2538, allocations: 9 kB / 374.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003052/0.2541, allocations: 199.6 kB / 374.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2541, allocations: 0 / 374.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.2547, allocations: 84.66 kB / 374.9 MB, free: 17.81 MB / 302.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.0007545/0.2555, allocations: 0.9734 MB / 375.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.256, allocations: 202.9 kB / 376.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.256, allocations: 0.5625 kB / 376.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.2561, allocations: 72.64 kB / 376.2 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2566, allocations: 34.42 kB / 376.2 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.2602, allocations: 3.366 MB / 379.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2605, allocations: 0.7774 MB / 380.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.2607, allocations: 37.03 kB / 380.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.2609, allocations: 105.6 kB / 380.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2609, allocations: 0 / 380.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.2796, allocations: 5.072 MB / 385.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.2798, allocations: 242.9 kB / 385.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.954, allocations: 0.9375 kB / 385.8 MB, free: 13.38 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches