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: 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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 61.88 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 50.53 MB / 358.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005092/0.1086, allocations: 3.299 MB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.1113, allocations: 1.405 MB / 362.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.1117, allocations: 8 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005413/0.1122, allocations: 159 kB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.1136, allocations: 413.7 kB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.1141, allocations: 187.5 kB / 363.6 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000747/0.1148, allocations: 458.1 kB / 364.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.1151, allocations: 156.2 kB / 364.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.1155, allocations: 171.3 kB / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.1158, allocations: 203.1 kB / 364.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.1159, allocations: 36 kB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.1163, allocations: 171.9 kB / 364.8 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.1164, allocations: 83.62 kB / 364.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.1166, allocations: 199 kB / 365.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.1174, allocations: 0.5453 MB / 365.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1174, allocations: 0 / 365.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1174, allocations: 4 kB / 365.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1174, allocations: 4 kB / 365.6 MB, free: 6.617 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.001547/0.119, allocations: 0.7408 MB / 366.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.119, allocations: 8.031 kB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007727/0.1198, allocations: 116.4 kB / 366.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.1203, allocations: 309.7 kB / 366.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1203, allocations: 21.38 kB / 366.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.1204, allocations: 40.31 kB / 366.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.121, allocations: 361.6 kB / 367.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.121, allocations: 4 kB / 367.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.121, allocations: 8 kB / 367.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.121, allocations: 8 kB / 367.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.1215, allocations: 250 kB / 367.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.1237, allocations: 1.315 MB / 368.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.1241, allocations: 205.1 kB / 369 MB, free: 3.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.1242, allocations: 85.67 kB / 369 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000991/0.1252, allocations: 1.192 MB / 370.2 MB, free: 1.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1253, allocations: 42.48 kB / 370.3 MB, free: 1.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.1253, allocations: 4 kB / 370.3 MB, free: 1.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005625/0.1259, allocations: 217.2 kB / 370.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1259, allocations: 81.05 kB / 370.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.1262, allocations: 291.1 kB / 370.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1263, allocations: 29.7 kB / 370.9 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1264, allocations: 243.3 kB / 371.1 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.1265, allocations: 55.2 kB / 371.2 MB, free: 0.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.1266, allocations: 69.92 kB / 371.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1267, allocations: 334.8 kB / 371.6 MB, free: 176 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1269, allocations: 72.61 kB / 371.6 MB, free: 104 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.17/0.2969, allocations: 187.4 kB / 371.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.2974, allocations: 293.9 kB / 372.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2974, allocations: 0.5625 kB / 372.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006405/0.2981, allocations: 321.9 kB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2981, allocations: 7.219 kB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2981, allocations: 4.656 kB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2982, allocations: 10.55 kB / 372.5 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.2985, allocations: 80.52 kB / 372.5 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.2985, allocations: 14.33 kB / 372.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2987, allocations: 37.02 kB / 372.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.2988, allocations: 13.83 kB / 372.6 MB, free: 19.66 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.0001364/0.2989, allocations: 154.9 kB / 372.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.299, allocations: 28.59 kB / 372.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.2991, allocations: 33.25 kB / 372.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2991, allocations: 2.625 kB / 372.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2991, allocations: 0 / 372.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2991, allocations: 2.438 kB / 372.8 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.2998, allocations: 0.5092 MB / 373.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2998, allocations: 1.312 kB / 373.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.3, allocations: 49.33 kB / 373.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3, allocations: 1.625 kB / 373.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3001, allocations: 6.266 kB / 373.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3001, allocations: 6.594 kB / 373.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3001, allocations: 2.234 kB / 373.4 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.3006, allocations: 427.2 kB / 373.8 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.3006, allocations: 109.8 kB / 373.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.3007, allocations: 2.312 kB / 373.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3009, allocations: 18.92 kB / 373.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.301, allocations: 14.2 kB / 373.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.301, allocations: 8.078 kB / 374 MB, free: 18.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3012, allocations: 198 kB / 374.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3012, allocations: 0 / 374.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.3017, allocations: 78.97 kB / 374.2 MB, free: 18.8 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.0001434/0.3018, allocations: 114.3 kB / 374.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.3023, allocations: 202.3 kB / 374.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3023, allocations: 1.125 kB / 374.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3024, allocations: 69.22 kB / 374.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3029, allocations: 42.36 kB / 374.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3041, allocations: 0.6855 MB / 375.3 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3044, allocations: 0.7739 MB / 376.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.3044, allocations: 27.69 kB / 376.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3044, allocations: 4 kB / 376.1 MB, free: 17.56 MB / 302.1 MB Notification: Performance of Templates: time 0.00656/0.311, allocations: 3.471 MB / 379.6 MB, free: 17.19 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (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 & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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