Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 112.6 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 200 kB / 18 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 51.91 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2452, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004305/0.2496, allocations: 3.285 MB / 404 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.2516, allocations: 1.296 MB / 405.3 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.2518, allocations: 11.94 kB / 405.3 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.2523, allocations: 147.1 kB / 405.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009431/0.2532, allocations: 461.5 kB / 405.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.2536, allocations: 166.2 kB / 406.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005243/0.2541, allocations: 450 kB / 406.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.2544, allocations: 148.2 kB / 406.6 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.2546, allocations: 163.4 kB / 406.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2548, allocations: 203.1 kB / 407 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.2549, allocations: 36 kB / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.2551, allocations: 159.9 kB / 407.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.2552, allocations: 79.7 kB / 407.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.2555, allocations: 203 kB / 407.5 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005609/0.256, allocations: 0.5267 MB / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.256, allocations: 4 kB / 408 MB, free: 1.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.2561, allocations: 3.984 kB / 408 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2561, allocations: 0 / 408 MB, free: 1.547 MB / 318.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.001325/0.2574, allocations: 0.737 MB / 408.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2574, allocations: 8.031 kB / 408.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.2581, allocations: 96.41 kB / 408.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.2585, allocations: 308.5 kB / 409.1 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.2585, allocations: 25.38 kB / 409.2 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.2586, allocations: 32.38 kB / 409.2 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.2592, allocations: 361.7 kB / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2592, allocations: 0 / 409.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.2593, allocations: 19.98 kB / 409.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.2593, allocations: 8 kB / 409.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004742/0.2598, allocations: 246.1 kB / 409.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.2617, allocations: 1.3 MB / 411.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.2621, allocations: 201.1 kB / 411.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.2623, allocations: 81.69 kB / 411.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007619/0.263, allocations: 0.8714 MB / 412.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2631, allocations: 42.5 kB / 412.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.2631, allocations: 0 / 412.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005082/0.2636, allocations: 209.6 kB / 412.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2637, allocations: 88.98 kB / 412.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.2639, allocations: 291 kB / 412.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.264, allocations: 25.7 kB / 412.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2641, allocations: 243.4 kB / 413.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.2642, allocations: 59.11 kB / 413.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.2643, allocations: 65.92 kB / 413.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2644, allocations: 338.8 kB / 413.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.2646, allocations: 64.88 kB / 413.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.2648, allocations: 214.3 kB / 413.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.2652, allocations: 300.9 kB / 414.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2652, allocations: 0 / 414.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005045/0.2657, allocations: 319 kB / 414.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2657, allocations: 8 kB / 414.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2658, allocations: 4 kB / 414.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2658, allocations: 4.562 kB / 414.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.2661, allocations: 83.84 kB / 414.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.2661, allocations: 11.92 kB / 414.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2663, allocations: 43.59 kB / 414.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.2663, allocations: 12 kB / 414.6 MB, free: 10.37 MB / 334.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.0001396/0.2665, allocations: 157.7 kB / 414.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.2665, allocations: 23.72 kB / 414.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.2666, allocations: 29.73 kB / 414.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2666, allocations: 15.92 kB / 414.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2666, allocations: 0 / 414.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2666, allocations: 0 / 414.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.2673, allocations: 0.5069 MB / 415.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2673, allocations: 0 / 415.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.2675, allocations: 47.84 kB / 415.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2675, allocations: 4 kB / 415.4 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2675, allocations: 8.031 kB / 415.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.2676, allocations: 4 kB / 415.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2676, allocations: 3.938 kB / 415.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.2681, allocations: 417.9 kB / 415.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.2682, allocations: 112.8 kB / 416 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.2682, allocations: 8 kB / 416 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2684, allocations: 11.98 kB / 416 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.2685, allocations: 15.92 kB / 416 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2685, allocations: 4 kB / 416 MB, free: 8.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.2687, allocations: 202 kB / 416.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2687, allocations: 0 / 416.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004209/0.2691, allocations: 79.78 kB / 416.3 MB, free: 8.637 MB / 334.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.0001553/0.2693, allocations: 115.3 kB / 416.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.2697, allocations: 195.8 kB / 416.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2697, allocations: 0 / 416.6 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.2698, allocations: 67.91 kB / 416.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.2702, allocations: 37.64 kB / 416.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2713, allocations: 0.6479 MB / 417.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2716, allocations: 0.7751 MB / 418.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.2718, allocations: 38.89 kB / 418.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.2718, allocations: 23.44 kB / 418.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2718, allocations: 7.938 kB / 418.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of Templates: time 0.005637/0.2775, allocations: 2.383 MB / 420.6 MB, free: 4.316 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches